1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 06:27:59 +01:00
This commit is contained in:
Kris Maglione
2011-08-07 15:35:35 -04:00
parent 6739ab0ef0
commit ac29e49b3d
4 changed files with 22 additions and 4 deletions

View File

@@ -171,10 +171,10 @@ var Marks = Module("marks", {
var node = buffer.findScrollable(0, (mark.offset || mark.position).x)
else
for (node in util.evaluateXPath(mark.xpath, buffer.focusedFrame.document))
;
break;
util.assert(node);
util.scrollIntoView(node, true);
util.scrollIntoView(node);
if (mark.position)
Buffer.scrollToPercent(node, mark.position.x * 100, mark.position.y * 100);