diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-06-03 04:40:20 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-06-03 04:40:20 +0300 |
commit | 78f131c0514bc99f73b9c063fac3158ab2e51e17 (patch) | |
tree | 1f9cc2feccd343ce1b83bb5d7a82bab7fea7e6e1 /app/assets/javascripts/activities.js | |
parent | 70b927a55ca62f1219464182660877bcdefd55b0 (diff) |
Fix duplication of commits header on commits page
Diffstat (limited to 'app/assets/javascripts/activities.js')
-rw-r--r-- | app/assets/javascripts/activities.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/activities.js b/app/assets/javascripts/activities.js index d816df831eb..5d060165f4b 100644 --- a/app/assets/javascripts/activities.js +++ b/app/assets/javascripts/activities.js @@ -5,7 +5,8 @@ import Cookies from 'js-cookie'; class Activities { constructor() { - Pager.init(20, true, false, this.updateTooltips); + Pager.init(20, true, false, data => data, this.updateTooltips); + $('.event-filter-link').on('click', (e) => { e.preventDefault(); this.toggleFilter(e.currentTarget); @@ -19,7 +20,7 @@ class Activities { reloadActivities() { $('.content_list').html(''); - Pager.init(20, true, false, this.updateTooltips); + Pager.init(20, true, false, data => data, this.updateTooltips); } toggleFilter(sender) { |