Skip to content

Commit a4d928d

Browse files
authored
Bind hotkeys immediately, not on first keyup (#17989)
1 parent 5ffbada commit a4d928d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warehouse/admin/static/js/warehouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ $(document).ready(function() {
292292
input.addEventListener("focusin", unbindHotKeys);
293293
input.addEventListener("focusout", bindHotKeys);
294294
});
295-
document.onkeyup = bindHotKeys;
295+
bindHotKeys();
296296
});
297297

298298
// Link Checking

0 commit comments

Comments
 (0)