forked from rDrama/rDrama
minor fix to toggleReplyBox
parent
027ba80e85
commit
11368f8ff9
|
@ -65,6 +65,7 @@ function toggleReplyBox(id) {
|
||||||
text = text.split('> Reply')[0]
|
text = text.split('> Reply')[0]
|
||||||
text = text.replace(/\*/g,"\\*")
|
text = text.replace(/\*/g,"\\*")
|
||||||
|
|
||||||
|
if (ta.value && !ta.value.endsWith('\n')) ta.value += '\n'
|
||||||
ta.value += text
|
ta.value += text
|
||||||
if (!ta.value.endsWith('\n')) ta.value += '\n'
|
if (!ta.value.endsWith('\n')) ta.value += '\n'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue