Set focus to message

main2
Bob Mottram 2019-09-22 10:43:16 +01:00
parent c059d16f03
commit 044a15d6eb
1 changed files with 1 additions and 4 deletions

View File

@ -1385,10 +1385,7 @@ def cursorToEndOfMessageScript() -> str:
' var theVal = replyTextArea.value;' \ ' var theVal = replyTextArea.value;' \
' replyTextArea.value = theVal;' \ ' replyTextArea.value = theVal;' \
'}' \ '}' \
'replyTextArea.onPageShow = function() {' \ 'replyTextArea.focus();'
' var theVal = replyTextArea.value;' \
' replyTextArea.value = theVal;' \
'}'
return script return script
def contentWarningScript() -> str: def contentWarningScript() -> str: