Explorar o código

fix WindowsHandler

Erwin Jacimino hai 8 meses
pai
achega
2be028b345
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/main/js/app.js

+ 1 - 1
public/main/js/app.js

@@ -1014,7 +1014,7 @@ function initializeRewards() {
     });
 
     // Close model - Back button on phone
-    WindowEventHandlers.onpopstate = function (event) {
+    window.onpopstate = function (event) {
         if (!rewardModal.classList.contains('hidden')) {
             event.preventDefault();
             event.stopPropagation();