mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:27:59 +01:00
Fix '' for a subset of cases.
This commit is contained in:
@@ -1140,6 +1140,9 @@ var Buffer = Module("buffer", {
|
||||
},
|
||||
|
||||
scrollTo: function scrollTo(elem, left, top) {
|
||||
// Temporary hack. Should be done better.
|
||||
if (elem.ownerDocument == buffer.focusedFrame.document)
|
||||
marks.add("'");
|
||||
if (left != null)
|
||||
elem.scrollLeft = left;
|
||||
if (top != null)
|
||||
|
||||
Reference in New Issue
Block a user