1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-14 01:55:46 +01:00

Prepare for merge with testing branch.

This commit is contained in:
Kris Maglione
2010-08-28 15:47:45 -04:00
parent 0c6a7b178f
commit 5632e14721
25 changed files with 903 additions and 801 deletions

View File

@@ -326,10 +326,10 @@ const RangeFind = Class("RangeFind", {
},
focus: function() {
if(this.lastRange)
if (this.lastRange)
var node = util.evaluateXPath(RangeFind.selectNodePath, this.range.document,
this.lastRange.commonAncestorContainer).snapshotItem(0);
if(node) {
if (node) {
node.focus();
// Rehighlight collapsed selection
this.selectedRange = this.lastRange;