diff options
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 2d6d66be..d316da4c 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -393,9 +393,7 @@ extend window, # This is a hack to improve usability on the Vimium options page. We prime the recently-focused input # to be the key-mappings input. Arguably, this is the input that the user is most likely to use. - unless recentlyFocusedElement? - if window.isVimiumOptionsPage - recentlyFocusedElement = document.getElementById "keyMappings" + recentlyFocusedElement ?= document.getElementById "keyMappings" if window.isVimiumOptionsPage selectedInputIndex = if count == 1 |
