소스 검색

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();