mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 18:37:58 +01:00
Support marks on frameset pages.
This commit is contained in:
@@ -1107,7 +1107,11 @@ const Buffer = Module("buffer", {
|
||||
},
|
||||
|
||||
findScrollableWindow: function findScrollableWindow() {
|
||||
let win = window.document.commandDispatcher.focusedWindow;
|
||||
let win = buffer.focusedFrame;
|
||||
if (win && (win.scrollMaxX > 0 || win.scrollMaxY > 0))
|
||||
return win;
|
||||
|
||||
win = window.document.commandDispatcher.focusedWindow;
|
||||
if (win && (win.scrollMaxX > 0 || win.scrollMaxY > 0))
|
||||
return win;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user