Commit b8b18e9

mo khan <mo@mokhan.ca>
2016-07-20 02:56:23
hound happy.
1 parent 951e5c6
Changed files (1)
app
assets
javascripts
app/assets/javascripts/views/workout_view.js.coffee
@@ -5,7 +5,7 @@ class Stronglifters.WorkoutView extends Ractive
 
   oninit: ->
     @clock = new Stronglifters.Timer
-      databag: @
+      databag: this
       key: 'clock'
 
     @timers = { }
@@ -77,7 +77,7 @@ class Stronglifters.WorkoutView extends Ractive
     else
       targetMilliseconds = model.get('target_duration') * 1000
       timer = new Stronglifters.Timer
-        databag: @
+        databag: this
         format: 'ss'
         key: "#{keypath}.actual_duration"
         maxMilliseconds: targetMilliseconds