minor change to reply quoting
parent
9cea919e98
commit
751556a8be
|
@ -63,10 +63,10 @@ function toggleReplyBox(id) {
|
||||||
text = text.replace(/\n/g,"\n> ").replace(/\*/g,"\\*")
|
text = text.replace(/\n/g,"\n> ").replace(/\*/g,"\\*")
|
||||||
text = text.replace(/\n> \n/g,"\n \n")
|
text = text.replace(/\n> \n/g,"\n \n")
|
||||||
text = text.split('> Reply')[0]
|
text = text.split('> Reply')[0]
|
||||||
if (!text.endsWith('\n')) text += '\n'
|
|
||||||
|
|
||||||
if (ta.value) ta.value += '\n' + text
|
if (!t.value.endsWith('\n')) ta.value += '\n'
|
||||||
else ta.value = text
|
ta.value += text
|
||||||
|
if (!t.value.endsWith('\n')) ta.value += '\n'
|
||||||
}
|
}
|
||||||
ta.focus()
|
ta.focus()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue