aboutsummaryrefslogtreecommitdiffstats
path: root/vimiumFrontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'vimiumFrontend.js')
-rw-r--r--vimiumFrontend.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js
index d485163b..452e9f37 100644
--- a/vimiumFrontend.js
+++ b/vimiumFrontend.js
@@ -236,8 +236,7 @@ function focusInput(count) {
var currentInputBox = results.iterateNext();
if (!currentInputBox) { break; }
- var clientRect = currentInputBox.getClientRects()[0];
- if (!linkHints.isVisible(currentInputBox, clientRect))
+ if (linkHints.getVisibleClientRect(currentInputBox) === null)
continue;
lastInputBox = currentInputBox;