okay, don't focus the text area (too slow)

This commit is contained in:
ReznoRMichael 2021-07-05 22:25:04 +02:00
parent a6e598a2cb
commit cd885d7c28
3 changed files with 4 additions and 5 deletions

View file

@ -165,9 +165,8 @@ function HKCheckCompletion(jsonObject) {
(0,_page_functions_js__WEBPACK_IMPORTED_MODULE_1__.CheckboxSpoilersToggle)();
/* focus the text area after analyzing the save, without scrolling the document */
document.getElementById("save-area").focus({
preventScroll: true
}); // finish and show benchmark
/* document.getElementById("save-area").focus({preventScroll: true}); */
// finish and show benchmark
benchHKCCEnd = new Date();
console.info("HKCheckCompletion() time (ms) =", benchHKCCEnd - benchHKCCBegin);

File diff suppressed because one or more lines are too long

View file

@ -238,7 +238,7 @@ function HKCheckCompletion(jsonObject) {
CheckboxSpoilersToggle();
/* focus the text area after analyzing the save, without scrolling the document */
document.getElementById("save-area").focus({preventScroll: true});
/* document.getElementById("save-area").focus({preventScroll: true}); */
// finish and show benchmark
benchHKCCEnd = new Date();