mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 22:32:30 +02:00
Fix marks offset issue.
This commit is contained in:
1 parent
449ff06fde
commit
06135d97db
2 files changed
+5
-5
No files matched your search
@@ -42,7 +42,7 @@ var Marks = Module("marks", {
|
||||
|
||||
params.location = doc.documentURI.replace(/#.*/, ""),
|
||||
params.offset = buffer.scrollPosition;
|
||||
params.path = DOM(buffer.findScrollable(0, params.offset.x)).xpath;
|
||||
params.path = DOM(buffer.findScrollable(0, false)).xpath;
|
||||
params.timestamp = Date.now() * 1000;
|
||||
params.equals = function (m) this.location == m.location
|
||||
&& this.offset.x == m.offset.x
|
||||
|
||||
Reference in new issue
Block a user