disable focusing of text area

This commit is contained in:
ReznoRMichael 2022-01-12 15:45:50 +01:00
parent 219a7f5c74
commit 8dda1ccabc
3 changed files with 7 additions and 3 deletions

View file

@ -9139,7 +9139,10 @@ function ToggleSaveModeSwitch() {
chooseFileButtonLabel.classList.add("hidden");
analyzeTextButton.classList.remove("hidden");
saveTextArea.classList.remove("hidden");
saveTextArea.focus();
/* Warning! focus() somehow makes the textarea text offset to the left */
/* saveTextArea.focus(); */
/* alert(this.value); */
}
}

File diff suppressed because one or more lines are too long

View file

@ -840,7 +840,8 @@ function ToggleSaveModeSwitch() {
chooseFileButtonLabel.classList.add("hidden");
analyzeTextButton.classList.remove("hidden");
saveTextArea.classList.remove("hidden");
saveTextArea.focus();
/* Warning! focus() somehow makes the textarea text offset to the left */
/* saveTextArea.focus(); */
/* alert(this.value); */
}
}