Update method name for better understanding

This commit is contained in:
Alfredo Sumaran 2016-06-09 12:31:18 -05:00
parent 340aa444b7
commit 89523396ba

View file

@ -1,12 +1,12 @@
class @Activities class @Activities
constructor: -> constructor: ->
Pager.init 20, true, false, @fixTooltips Pager.init 20, true, false, @updateTooltips
$(".event-filter-link").on "click", (event) => $(".event-filter-link").on "click", (event) =>
event.preventDefault() event.preventDefault()
@toggleFilter($(event.currentTarget)) @toggleFilter($(event.currentTarget))
@reloadActivities() @reloadActivities()
fixTooltips: -> updateTooltips: ->
gl.utils.localTimeAgo($('.js-timeago', '#activity')) gl.utils.localTimeAgo($('.js-timeago', '#activity'))
reloadActivities: -> reloadActivities: ->