mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:27:58 +01:00
Get rid of template.maybeXML.
This commit is contained in:
@@ -1158,7 +1158,8 @@ const Buffer = Module("buffer", {
|
||||
elem = find(doc.body || doc.getElementsByTagName("body")[0] ||
|
||||
doc.documentElement);
|
||||
}
|
||||
return elem;
|
||||
let doc = buffer.focusedFrame.document;
|
||||
return elem || doc.body || doc.documentElement;
|
||||
},
|
||||
|
||||
scrollVertical: function scrollVertical(elem, increment, number) {
|
||||
|
||||
Reference in New Issue
Block a user