diff options
| author | mrmr1993 | 2015-05-31 17:55:32 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2015-05-31 17:55:32 +0100 | 
| commit | 4b420fe89502ce910d4cc13fda51e0a8ad06fed9 (patch) | |
| tree | 684198043454481bbaa98990b3ed7687f9e74c93 /content_scripts/scroller.coffee | |
| parent | 0de6b076271b673d0e1dcc2b74b2ddd1646bf08e (diff) | |
| download | vimium-4b420fe89502ce910d4cc13fda51e0a8ad06fed9.tar.bz2 | |
Replace settings.get with Settings.get in the frontend
Diffstat (limited to 'content_scripts/scroller.coffee')
| -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 27fc9cdc..29142064 100644 --- a/content_scripts/scroller.coffee +++ b/content_scripts/scroller.coffee @@ -139,7 +139,7 @@ CoreScroller =            @time += 1    # Return true if CoreScroller would not initiate a new scroll right now. -  wouldNotInitiateScroll: -> @lastEvent?.repeat and @settings.get "smoothScroll" +  wouldNotInitiateScroll: -> @lastEvent?.repeat and Settings.get "smoothScroll"    # Calibration fudge factors for continuous scrolling.  The calibration value starts at 1.0.  We then    # increase it (until it exceeds @maxCalibration) if we guess that the scroll is too slow, or decrease it @@ -153,7 +153,7 @@ CoreScroller =    scroll: (element, direction, amount, continuous = true) ->      return unless amount -    unless @settings.get "smoothScroll" +    unless Settings.get "smoothScroll"        # Jump scrolling.        performScroll element, direction, amount        checkVisibility element | 
