From fe9e092677f56020b96578bd8f5e63fbeade927f Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sat, 21 Apr 2007 11:18:08 +0000 Subject: [PATCH] set horizontal offset to 0 --- Donators | 1 - chrome/content/vimperator/commands.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Donators b/Donators index 0eef52a6..1f1f24e9 100644 --- a/Donators +++ b/Donators @@ -1,6 +1,5 @@
 Note: 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
 * Ben Klemens
diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js
index 26b3ccb3..0a29d208 100644
--- a/chrome/content/vimperator/commands.js
+++ b/chrome/content/vimperator/commands.js
@@ -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]);
     }
 }