make it possible for lazy niggas to append quotes using the "reply" button
parent
1e9b32699f
commit
5d3c8990e0
|
@ -64,7 +64,9 @@ function toggleReplyBox(id) {
|
|||
text = text.replace(/\n> \n/g,"\n \n")
|
||||
text = text.split('> Reply')[0]
|
||||
if (!text.endsWith('\n')) text += '\n'
|
||||
ta.value = text
|
||||
|
||||
if (ta.value) ta.value += '\n' + text
|
||||
else ta.value = text
|
||||
}
|
||||
ta.focus()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue