From 771f05845a7ce97bdff95cfb7b58cd2af8ddcae6 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sun, 12 Nov 2017 15:13:24 +0000 Subject: Use tabIndex to provide the special focusInput behaviour in the options --- content_scripts/mode_normal.coffee | 1 - 1 file changed, 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/mode_normal.coffee b/content_scripts/mode_normal.coffee index 788042f0..027ad22f 100644 --- a/content_scripts/mode_normal.coffee +++ b/content_scripts/mode_normal.coffee @@ -169,7 +169,6 @@ NormalModeCommands = # 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. recentlyFocusedElement = lastFocusedInput() - recentlyFocusedElement ?= document.getElementById "keyMappings" if window.isVimiumOptionsPage selectedInputIndex = if count == 1 -- cgit v1.2.3