From 790af21b81a81acb43f84e1e653f9b186cb6fdc8 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 12 Sep 2011 14:01:16 -0400 Subject: [PATCH] Fix marks.js issue. --- common/content/marks.js | 4 ++-- 1 file 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);