From d5cec3844badb37d81822f52795edbc3514ee01f Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 10 Aug 2016 18:08:48 +0000 Subject: [PATCH] make sure toast hides again --- app/assets/javascripts/src/Metamaps.GlobalUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/src/Metamaps.GlobalUI.js b/app/assets/javascripts/src/Metamaps.GlobalUI.js index 2821e03c..92dfa6e5 100644 --- a/app/assets/javascripts/src/Metamaps.GlobalUI.js +++ b/app/assets/javascripts/src/Metamaps.GlobalUI.js @@ -94,7 +94,7 @@ Metamaps.GlobalUI = { self.CreateMap.init(); self.Account.init(); - if ($('#toast').html().trim()) self.showDiv('#toast') + if ($('#toast').html().trim()) self.notifyUser($('#toast').html()) //bind lightbox clicks $('.openLightbox').click(function (event) {