Browse Source

fix WindowsHandler

Erwin Jacimino 8 tháng trước cách đây
mục cha
commit
2be028b345
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();