We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fc454 commit 8b6304eCopy full SHA for 8b6304e
src/librustdoc/html/static/main.js
@@ -493,11 +493,7 @@ function defocusSearchBar() {
493
document.addEventListener("keypress", handleShortcut);
494
document.addEventListener("keydown", handleShortcut);
495
496
- function resetMouseMoved(ev) {
497
- mouseMovedAfterSearch = true;
498
- }
499
-
500
- document.addEventListener("mousemove", resetMouseMoved);
+ document.addEventListener("mousemove", function() { mouseMovedAfterSearch = true; });
501
502
var handleSourceHighlight = (function() {
503
var prev_line_id = 0;
0 commit comments