mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 22:34:18 +01:00
Remember last focused frame
This commit is contained in:
@@ -1064,6 +1064,9 @@ function Events() //{{{
|
||||
var win = window.document.commandDispatcher.focusedWindow;
|
||||
var elem = window.document.commandDispatcher.focusedElement;
|
||||
|
||||
if (win && win.top == content && liberator.has("tabs"))
|
||||
tabs.localStore.focusedFrame = win;
|
||||
|
||||
if (elem && elem.readOnly)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user