Skip to content
Snippets Groups Projects
Commit 4213857a authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Don't show spinner after backwards navigation

parent 299dae40
No related branches found
No related tags found
No related merge requests found
......@@ -635,6 +635,10 @@ getConfig = (function() {
})();
$(document).on('pjax:start', function() {
// Don't show the spinner on back button
if (event instanceof PopStateEvent)
return;
clearInterval(window.ticket_refresh);
$('#loading').show().css({opacity:0.7});
// Clear all timeouts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment