diff --git a/app/assets/v2/js/pages/profile.js b/app/assets/v2/js/pages/profile.js index 9dc4ba2a8be..4d393092842 100644 --- a/app/assets/v2/js/pages/profile.js +++ b/app/assets/v2/js/pages/profile.js @@ -39,7 +39,7 @@ $(document).ready(function() { fetchInProgress = true; loadingImg.className = loadingImg.className.replace('hidden', 'visible'); - fetch(location.href.replace(location.hash, '') + '?p=' + (page++) + '&a=' + activityName).then( + fetch(location.href.replace(location.hash, '') + '?p=' + (++page) + '&a=' + activityName).then( function(response) { if (response.status === 200) { response.text().then(