From 10575f6f592a6f7c4bbc4e26963e3a8ecd525237 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 1 Jun 2018 14:28:30 -0600 Subject: [PATCH] Fix another visual bug --- static/js/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index ab249e7..14b7c2a 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -3,9 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ $(document).ready(function () { - $("#msg-alert-box").on("click", ".close", function (e) { - $("#msg-alert-box").fadeOut("slow"); - }); if ($("#msg-alert-box").length) { $("#msg-alert-box .progress").css("height", "3px"); @@ -60,6 +57,10 @@ $(document).ready(function () { msginteractiontick = 0; console.log("👈😎👈 zoop"); }); + $("#msg-alert-box").on("click", ".close", function (e) { + $("#msg-alert-box").fadeOut("slow"); + window.clearInterval(msgticker); + }); } });