1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 20:44:11 +01:00

Fix marks.js issue.

This commit is contained in:
Kris Maglione
2011-09-12 14:01:16 -04:00
parent 345cce5a42
commit 790af21b81

View File

@@ -224,10 +224,10 @@ var Marks = Module("marks", {
},
_scrollTo: function _scrollTo(mark) {
if (!mark.xpath)
if (!mark.path)
var node = buffer.findScrollable(0, (mark.offset || mark.position).x)
else
for (node in DOM.XPath(mark.xpath, buffer.focusedFrame.document))
for (node in DOM.XPath(mark.path, buffer.focusedFrame.document))
break;
util.assert(node);