Skip to content

Commit

Permalink
help.html: only input.focus().
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Sep 25, 2022
1 parent 4757b17 commit 8b7f7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion basis/help/html/html.factor
Expand Up @@ -101,7 +101,7 @@ M: pathname url-of
if (input !== document.activeElement) {
event.preventDefault();
setTimeout(function() {
input.focus().select()
input.focus();
}, 0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion extra/webapps/help/search.js
Expand Up @@ -12,7 +12,7 @@ document.addEventListener('keydown', function (event) {
if (input !== document.activeElement) {
event.preventDefault();
setTimeout(function() {
input.focus().select()
input.focus();
}, 0);
}
}
Expand Down

0 comments on commit 8b7f7e5

Please sign in to comment.