Commit 3ef322d0 authored by Mike Perry's avatar Mike Perry
Browse files

Bug #3928: FIX TEH TWITTERNETZ!11

The auto-scroll was broken because we were overzealously killing a scrollbar
offset, thinking it was a window offset. #sorryboutit.
parent 20cb5232
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -28,12 +28,6 @@ window.__HookObjects = function() {
          Object.defineProperty(window.__proto__, "screenY",
                          {get: function() { return 0;},
                          configurable: false});
          Object.defineProperty(window.__proto__, "pageXOffset",
                          {get: function() { return 0;},
                          configurable: false});
          Object.defineProperty(window.__proto__, "pageYOffset",
                          {get: function() { return 0;},
                          configurable: false});

          // We can't define individual getters/setters for window.screen 
          // for some reason. works in html but not in these hooks.. No idea why