1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 14:18:00 +01:00

set horizontal offset to 0

This commit is contained in:
Martin Stubenschrott
2007-04-21 11:18:08 +00:00
parent 341d641631
commit fe9e092677
2 changed files with 2 additions and 2 deletions

View File

@@ -1801,7 +1801,8 @@ table.settings th {\
return;
}
var pos = cumulativeOffset(element);
window.content.scrollTo(pos[0], pos[1]);
// horizontal offset is annyoing, set it to 0 (use pos[0] if you want horizontal offset)
window.content.scrollTo(0, pos[1]);
}
}