1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 20:45:48 +01:00

Replace tabs.localStore.focusedFrame with buffer.focusedFrame.

This commit is contained in:
Kris Maglione
2010-10-03 14:13:24 -04:00
parent 72b6af3e6b
commit c577b15ea6
5 changed files with 15 additions and 9 deletions

View File

@@ -302,7 +302,7 @@ const RangeFind = Class("RangeFind", {
get searchString() this.lastString,
get selectedRange() {
let selection = (tabs.localStore.focusedFrame || content).getSelection();
let selection = (buffer.focusedFrame || content).getSelection();
return (selection.rangeCount ? selection.getRangeAt(0) : this.ranges[0].range).cloneRange();
},
set selectedRange(range) {