summaryrefslogtreecommitdiff
path: root/common/content/hints.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/hints.js')
-rw-r--r--common/content/hints.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/hints.js b/common/content/hints.js
index fda1fbae..eb47296f 100644
--- a/common/content/hints.js
+++ b/common/content/hints.js
@@ -52,7 +52,7 @@ const Hints = Module("hints", {
this.addMode("?", "Show information for hint", function (elem) buffer.showElementInfo(elem));
this.addMode("s", "Save hint", function (elem) buffer.saveLink(elem, true));
this.addMode("a", "Save hint with prompt", function (elem) buffer.saveLink(elem, false));
- this.addMode("f", "Focus frame", function (elem) elem.ownerDocument.defaultView.focus(), function () ["body"]);
+ this.addMode("f", "Focus frame", function (elem) dactyl.focus(elem.ownerDocument.defaultView));
this.addMode("F", "Focus frame or pseudo-frame", buffer.closure.focusElement, null, isScrollable);
this.addMode("o", "Follow hint", function (elem) buffer.followLink(elem, dactyl.CURRENT_TAB));
this.addMode("t", "Follow hint in a new tab", function (elem) buffer.followLink(elem, dactyl.NEW_TAB));