mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:27:59 +01:00
Fix finder with iframes. Fix dactyl cleanup on :rehash.
This commit is contained in:
@@ -474,11 +474,11 @@ var Buffer = Module("buffer", {
|
||||
* @property {Window} Returns the currently focused frame.
|
||||
*/
|
||||
get focusedFrame() {
|
||||
let frame = (dactyl.has("tabs") ? tabs.localStore : this.localStore).focusedFrame;
|
||||
let frame = this.localStore.focusedFrame;
|
||||
return frame && frame.get() || content;
|
||||
},
|
||||
set focusedFrame(frame) {
|
||||
(dactyl.has("tabs") ? tabs.localStore : this.localStore).focusedFrame = Cu.getWeakReference(frame);
|
||||
this.localStore.focusedFrame = Cu.getWeakReference(frame);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user