Skip to content

Commit

Permalink
add active class to notification messages
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie01 committed Mar 11, 2024
1 parent 2f38593 commit ba99556
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Allura/allura/public/nf/js/jquery.notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba99556

Please sign in to comment.