diff --git a/webinterface.py b/webinterface.py index f64323484..287f650ef 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: