aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/scroller.coffee
diff options
context:
space:
mode:
authormrmr19932015-05-31 17:55:32 +0100
committermrmr19932015-05-31 17:55:32 +0100
commit4b420fe89502ce910d4cc13fda51e0a8ad06fed9 (patch)
tree684198043454481bbaa98990b3ed7687f9e74c93 /content_scripts/scroller.coffee
parent0de6b076271b673d0e1dcc2b74b2ddd1646bf08e (diff)
downloadvimium-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.coffee4
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