From ba9955669ca6b49ee8e6a0aaede5322e2894e7d3 Mon Sep 17 00:00:00 2001 From: Guillermo Cruz Date: Mon, 11 Mar 2024 11:09:43 -0600 Subject: [PATCH] add active class to notification messages --- Allura/allura/public/nf/js/jquery.notify.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Allura/allura/public/nf/js/jquery.notify.js b/Allura/allura/public/nf/js/jquery.notify.js index 9ad8b8916..e8d700b0f 100644 --- a/Allura/allura/public/nf/js/jquery.notify.js +++ b/Allura/allura/public/nf/js/jquery.notify.js @@ -61,6 +61,7 @@ function displayNotification(el, o){ var selector = '.' + o.newClass + '.' + o.messageClass; + $(selector).removeClass(o.newClass).addClass(o.activeClass); $(selector).fadeIn(500); if (!$(selector).hasClass(o.persistentClass)) { var timer = $(selector).attr('data-timer') || o.timer;