diff --git a/webinterface.py b/webinterface.py index f6432348..287f650e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1385,10 +1385,7 @@ def cursorToEndOfMessageScript() -> str: ' var theVal = replyTextArea.value;' \ ' replyTextArea.value = theVal;' \ '}' \ - 'replyTextArea.onPageShow = function() {' \ - ' var theVal = replyTextArea.value;' \ - ' replyTextArea.value = theVal;' \ - '}' + 'replyTextArea.focus();' return script def contentWarningScript() -> str: