1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:02:25 +01:00

Unbreak local marks

This commit is contained in:
Kris Maglione
2008-10-31 01:43:44 +00:00
parent 775ae63515
commit 5ab05963bf

View File

@@ -2049,7 +2049,7 @@ function Marks() //{{{
for (let [,lmark] in Iterator(slice)) for (let [,lmark] in Iterator(slice))
{ {
if (win.location.href == mark.location) if (win.location.href == lmark.location)
{ {
liberator.log("Jumping to local mark: " + markToString(mark, lmark), 5); liberator.log("Jumping to local mark: " + markToString(mark, lmark), 5);
win.scrollTo(lmark.position.x * win.scrollMaxX, lmark.position.y * win.scrollMaxY); win.scrollTo(lmark.position.x * win.scrollMaxX, lmark.position.y * win.scrollMaxY);