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

pjax: Fix missing global `event` on Firefox

parent e13fb99d
No related branches found
No related tags found
No related merge requests found
......@@ -630,7 +630,7 @@ getConfig = (function() {
}
})();
$(document).on('pjax:start', function() {
$(document).on('pjax:start', function(event) {
// Don't show the spinner on back button
if (event instanceof PopStateEvent)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment