Fixed page time update interval.

This commit is contained in:
Martin Edenhofer 2017-01-09 23:59:32 +01:00
parent b19af65a46
commit e65fd786e8

View file

@ -259,7 +259,7 @@ class App.Controller extends Spine.Controller
frontendTimeUpdate: => frontendTimeUpdate: =>
update = => update = =>
@frontendTimeUpdateElement($('.humanTimeFromNow')) @frontendTimeUpdateElement($('#app'))
App.Interval.set(update, 61000, 'frontendTimeUpdate', 'ui') App.Interval.set(update, 61000, 'frontendTimeUpdate', 'ui')
frontendTimeUpdateElement: (el) => frontendTimeUpdateElement: (el) =>