This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 15ff11bf1 [#8537] small update to notifications function to set active
15ff11bf1 is described below

commit 15ff11bf1efc622cb599c22d863de24d881d5488
Author: Guillermo Cruz <guillermo.c...@slashdotmedia.com>
AuthorDate: Mon Mar 11 14:02:49 2024 -0600

    [#8537] small update to notifications function to set active
---
 Allura/allura/public/nf/js/jquery.notify.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/public/nf/js/jquery.notify.js 
b/Allura/allura/public/nf/js/jquery.notify.js
index e8d700b0f..c01220726 100644
--- a/Allura/allura/public/nf/js/jquery.notify.js
+++ b/Allura/allura/public/nf/js/jquery.notify.js
@@ -61,7 +61,7 @@
 
     function displayNotification(el, o){
         var selector = '.' + o.newClass + '.' + o.messageClass;
-        $(selector).removeClass(o.newClass).addClass(o.activeClass);
+        $(selector).addClass(o.activeClass);
         $(selector).fadeIn(500);
         if (!$(selector).hasClass(o.persistentClass)) {
             var timer = $(selector).attr('data-timer') || o.timer;

Reply via email to