任一存 1 år sedan
förälder
incheckning
6262bf70ce
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      public/static/js/Hot.js

+ 2 - 1
public/static/js/Hot.js

@@ -37,7 +37,7 @@ window.initHot = function (model) {
   var getCommonHotspotUrl = function (link) {
     var querySectionInLink = link.split('?')[1]
     var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : ""
-    // return `http://192.168.20.16:8084/#/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
+    // return `http://192.168.0.27:8082/#/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
     // return `/wenlange/hotspot/index.html#/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
     return `/hotspot/index.html#/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
   }
@@ -1669,6 +1669,7 @@ window.initHot = function (model) {
 
   $('#closepop').on("click", () => {
     Hot.closePopup()
+    document.dispatchEvent(new CustomEvent('close-popup'))
   })