Browse Source

Hide all moe masks on popState

Vijayakrishnan Krishnan 4 years ago
parent
commit
d9a6814512
1 changed files with 2 additions and 0 deletions
  1. 2 0
      public/js/mc.js

+ 2 - 0
public/js/mc.js

@@ -67,6 +67,8 @@ var findEventHandlers = function (eventType, jqSelector) {
 
 
 window.top.addEventListener('popstate', function (event) {
 window.top.addEventListener('popstate', function (event) {
     window.setTimeout(function () {
     window.setTimeout(function () {
+        hideMask();
+        hideMoeFormMask();
         if (!event || (!event.state && event.state !== '')) {
         if (!event || (!event.state && event.state !== '')) {
             console.error('ALIX No state!', event, event.state);
             console.error('ALIX No state!', event, event.state);
             return;
             return;