diff --git a/scp/js/scp.js b/scp/js/scp.js
index fb071801f1d727b49647fda022f5876dde0fc10e..9c5990c1fd244939f7c364f423cc5dee6cc1c95b 100644
--- a/scp/js/scp.js
+++ b/scp/js/scp.js
@@ -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;