Focus on message

main2
Bob Mottram 2019-09-22 10:48:17 +01:00
parent 044a15d6eb
commit 7924f831e5
1 changed files with 3 additions and 1 deletions

View File

@ -1385,7 +1385,9 @@ def cursorToEndOfMessageScript() -> str:
' var theVal = replyTextArea.value;' \ ' var theVal = replyTextArea.value;' \
' replyTextArea.value = theVal;' \ ' replyTextArea.value = theVal;' \
'}' \ '}' \
'replyTextArea.focus();' 'window.onload = function() {' \
" document.getElementById('message').focus();" \
'};'
return script return script
def contentWarningScript() -> str: def contentWarningScript() -> str: