1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:57:58 +01:00

whitespace and semicolon fixes

This commit is contained in:
Doug Kearns
2008-11-02 11:54:56 +00:00
parent d52466188e
commit 6dfc33035b
12 changed files with 41 additions and 40 deletions

View File

@@ -165,7 +165,7 @@ function Search() //{{{
return range;
}
return null;
}
};
var start = new Point(win.pageXOffset, win.pageYOffset);
let selection = sel.getSelection(sel.SELECTION_NORMAL);
@@ -226,14 +226,14 @@ function Search() //{{{
sel.scrollSelectionIntoView(sel.SELECTION_NORMAL, 0, false);
lastRange = range.cloneRange();
return range;
}
};
this.cancel = function ()
{
selection.removeAllRanges();
selection.addRange(startRange);
win.scrollTo(start.x, start.y);
}
};
}
/* Stolen from toolkit.jar in Firefox, for the time being. The private