Place text caret at end of text to reduce visual distraction caused by stuff moving around

This commit is contained in:
Magnus Hovland Hoff 2018-09-16 12:16:03 +02:00
parent a00cdf6394
commit 999253a778

View file

@ -77,6 +77,7 @@ function openEditor() {
autosizeTextarea(textarea, shadow);
textarea.setSelectionRange(textarea.value.length, textarea.value.length);
textarea.focus();
if (hasBeenOpen) return;