From 4ff7172c77b5f04fcc71c3c6e176f4c259540c8f Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 18 Dec 2010 15:27:45 -0500 Subject: Import the bulk of a focus management patch near the top of my queue. --- common/content/finder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/content/finder.js') 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; } -- cgit v1.2.3