瀏覽代碼

fix WindowsHandler

Erwin Jacimino 8 月之前
父節點
當前提交
2be028b345
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();