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 ba9955669 add active class to notification messages
ba9955669 is described below

commit ba9955669ca6b49ee8e6a0aaede5322e2894e7d3
Author: Guillermo Cruz <guillermo.c...@slashdotmedia.com>
AuthorDate: Mon Mar 11 11:09:43 2024 -0600

    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;

Reply via email to