summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-04-20 17:47:07 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-04-20 17:47:07 +0100
commit493784da435179f98827f25cc89653686794996b (patch)
tree51acade1941d843d8796c7778f0db72640b62fce /app/views/projects
parentf23f274b8d44504513dbed0422b484f6aa719a23 (diff)
downloadgitlab-ce-493784da435179f98827f25cc89653686794996b.tar.gz
fix bug causing the infinite scrolling in activity feeds to break when you click a link and navigate backfix_infinite_scroll_breaks_on_back_button_activity_feed
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_activity.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/_activity.html.haml b/app/views/projects/_activity.html.haml
index 961b61d2e76..48b0dd6b121 100644
--- a/app/views/projects/_activity.html.haml
+++ b/app/views/projects/_activity.html.haml
@@ -9,4 +9,7 @@
= spinner
:javascript
- new Activities();
+ var activity = new Activities();
+ $(document).on('page:restore', function (event) {
+ activity.reloadActivities()
+ })