summaryrefslogtreecommitdiff
path: root/common/content/finder.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-18 15:27:45 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-18 15:27:45 -0500
commit4ff7172c77b5f04fcc71c3c6e176f4c259540c8f (patch)
tree7d1e0d1c419e96eb0861689f345a749ca992e165 /common/content/finder.js
parent0af241568b04ce187acfa6e1a06b6ccbfa88bd6f (diff)
downloadpentadactyl-4ff7172c77b5f04fcc71c3c6e176f4c259540c8f.tar.gz
Import the bulk of a focus management patch near the top of my queue.
Diffstat (limited to 'common/content/finder.js')
-rw-r--r--common/content/finder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/finder.js b/common/content/finder.js
index 1c5f096b..0ed495ec 100644
--- a/common/content/finder.js
+++ b/common/content/finder.js
@@ -340,7 +340,7 @@ const RangeFind = Class("RangeFind", {
var node = util.evaluateXPath(RangeFind.selectNodePath, this.range.document,
this.lastRange.commonAncestorContainer).snapshotItem(0);
if (node) {
- node.focus();
+ dactyl.focus(node);
// Re-highlight collapsed selection
this.selectedRange = this.lastRange;
}