Skip to content
Snippets Groups Projects
Commit dfbc7c1b authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #822 from greezybacon/issue/pjax-firefox


pjax: Fix missing global `event` on Firefox

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents e13fb99d e94edc96
No related branches found
No related tags found
No related merge requests found
...@@ -630,7 +630,7 @@ getConfig = (function() { ...@@ -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 // Don't show the spinner on back button
if (event instanceof PopStateEvent) if (event instanceof PopStateEvent)
return; return;
......
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