From 371a97dfa226f129088cd9004cb4c0454dc593d2 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Sun, 22 Sep 2019 10:30:37 +0100 Subject: [PATCH] Also try onload --- webinterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webinterface.py b/webinterface.py index 7205806b..b83a6817 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1384,6 +1384,10 @@ def cursorToEndOfMessageScript() -> str: 'replyTextArea.onFocus = function() {' \ ' var theVal = replyTextArea.value;' \ ' replyTextArea.value = theVal;' \ + '}' \ + 'replyTextArea.onLoad = function() {' \ + ' var theVal = replyTextArea.value;' \ + ' replyTextArea.value = theVal;' \ '}' return script