1
0
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:
Kris Maglione
2011-01-13 12:22:46 -05:00
parent 0de4c844ef
commit 77e8bc5f65
5 changed files with 8 additions and 3 deletions

View File

@@ -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)