summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-09-12 14:01:16 -0400
committerKris Maglione <maglione.k@gmail.com>2011-09-12 14:01:16 -0400
commit790af21b81a81acb43f84e1e653f9b186cb6fdc8 (patch)
tree8475048e3bf1160c46fa12daa77c929e905d7493 /common
parent345cce5a421b9e1a56a1a071f02e5ec73474f43b (diff)
downloadpentadactyl-790af21b81a81acb43f84e1e653f9b186cb6fdc8.tar.gz
Fix marks.js issue.
Diffstat (limited to 'common')
-rw-r--r--common/content/marks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/marks.js b/common/content/marks.js
index 9ca6dd25..691ad192 100644
--- a/common/content/marks.js
+++ b/common/content/marks.js
@@ -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);