Browse Source

Fix another visual bug

master
Skylar Ittner 11 months ago
parent
commit
10575f6f59
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      static/js/app.js

+ 4
- 3
static/js/app.js View File

@@ -3,9 +3,6 @@
3 3
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
 
5 5
 $(document).ready(function () {
6
-    $("#msg-alert-box").on("click", ".close", function (e) {
7
-        $("#msg-alert-box").fadeOut("slow");
8
-    });
9 6
 
10 7
     if ($("#msg-alert-box").length) {
11 8
         $("#msg-alert-box .progress").css("height", "3px");
@@ -60,6 +57,10 @@ $(document).ready(function () {
60 57
             msginteractiontick = 0;
61 58
             console.log("👈😎👈 zoop");
62 59
         });
60
+        $("#msg-alert-box").on("click", ".close", function (e) {
61
+            $("#msg-alert-box").fadeOut("slow");
62
+            window.clearInterval(msgticker);
63
+        });
63 64
     }
64 65
 });
65 66
 

Loading…
Cancel
Save