forked from MarseyWorld/MarseyWorld
fix quoting new messages
parent
2448c3104f
commit
bb6d798647
|
@ -179,9 +179,7 @@ function quote(t) {
|
|||
document.getElementById('QuotedUser').innerHTML = username
|
||||
|
||||
const id = t.parentElement.parentElement.parentElement.id
|
||||
console.log(id)
|
||||
document.getElementById('quotes_id').value = id
|
||||
console.log(document.getElementById('quotes_id').value)
|
||||
document.getElementById('QuotedMessageLink').href = `#${id}`
|
||||
|
||||
textbox.focus()
|
||||
|
|
|
@ -80,6 +80,7 @@ def speak(data, v):
|
|||
quotes = data['quotes']
|
||||
id = str(uuid.uuid4())
|
||||
data = {
|
||||
"id": id,
|
||||
"quotes": quotes if quotes != 'undefined' else '',
|
||||
"hat": v.hat_active(v)[0],
|
||||
"user_id": v.id,
|
||||
|
|
Loading…
Reference in New Issue