diff options
| author | Stephen Blott | 2014-12-13 17:05:35 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-12-13 17:05:35 +0000 | 
| commit | ba11cd17db2178e288c9585947e0387ba86852a4 (patch) | |
| tree | 8d14a75b157a6813400ace801b7090daefb87c85 | |
| parent | ff3586a0cbd0ed4e7ad1bc818f5906292bf07d6d (diff) | |
| download | vimium-ba11cd17db2178e288c9585947e0387ba86852a4.tar.bz2 | |
Fix flipped viewSize properties in scroller.
| -rw-r--r-- | content_scripts/scroller.coffee | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/content_scripts/scroller.coffee b/content_scripts/scroller.coffee index 0964a289..5eb1c5e2 100644 --- a/content_scripts/scroller.coffee +++ b/content_scripts/scroller.coffee @@ -8,12 +8,12 @@ scrollProperties =    x: {      axisName: 'scrollLeft'      max: 'scrollWidth' -    viewSize: 'clientHeight' +    viewSize: 'clientWidth'    }    y: {      axisName: 'scrollTop'      max: 'scrollHeight' -    viewSize: 'clientWidth' +    viewSize: 'clientHeight'    }  # Translate a scroll request into a number (which will be interpreted by `scrollBy` as a relative amount, or | 
