focus the text area after analyzing the save
This commit is contained in:
parent
6dc7bda490
commit
a6e598a2cb
3 changed files with 12 additions and 3 deletions
|
|
@ -237,6 +237,9 @@ function HKCheckCompletion(jsonObject) {
|
|||
CheckboxHintsToggle();
|
||||
CheckboxSpoilersToggle();
|
||||
|
||||
/* focus the text area after analyzing the save, without scrolling the document */
|
||||
document.getElementById("save-area").focus({preventScroll: true});
|
||||
|
||||
// finish and show benchmark
|
||||
benchHKCCEnd = new Date();
|
||||
console.info("HKCheckCompletion() time (ms) =", benchHKCCEnd - benchHKCCBegin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue