1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 17:57:59 +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

@@ -1,6 +1,5 @@
<pre> <pre>
<b>Note:</b> If you don't wish to appear on this list when making a donation, please tell me. <b>Note:</b> If you don't wish to appear on this list when making a donation, please tell me.
Also if you want the amount or email address or whatever listet, send me an email.
* Andrew Pantyukhin * Andrew Pantyukhin
* Ben Klemens * Ben Klemens

View File

@@ -1801,7 +1801,8 @@ table.settings th {\
return; return;
} }
var pos = cumulativeOffset(element); 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]);
} }
} }