diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-20 17:47:07 +0100 |
---|---|---|
committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-20 17:47:07 +0100 |
commit | 493784da435179f98827f25cc89653686794996b (patch) | |
tree | 51acade1941d843d8796c7778f0db72640b62fce /app/views/projects | |
parent | f23f274b8d44504513dbed0422b484f6aa719a23 (diff) | |
download | gitlab-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.haml | 5 |
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() + }) |