This is an automated email from the ASF dual-hosted git repository. gcruz pushed a commit to branch gc/8537 in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/gc/8537 by this push: new 7460c8d76 fixup! fixup! [#8537] moved g analytics further down the page 7460c8d76 is described below commit 7460c8d762420e204eef06c6bed6f50c3b361a0e Author: Guillermo Cruz <guillermo.c...@slashdotmedia.com> AuthorDate: Tue Mar 5 14:34:23 2024 -0700 fixup! fixup! [#8537] moved g analytics further down the page --- Allura/allura/public/nf/js/jquery.notify.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Allura/allura/public/nf/js/jquery.notify.js b/Allura/allura/public/nf/js/jquery.notify.js index 7b4b4bb76..6e2b938d0 100644 --- a/Allura/allura/public/nf/js/jquery.notify.js +++ b/Allura/allura/public/nf/js/jquery.notify.js @@ -111,6 +111,13 @@ $('body').on("click", selector, function(e) { closer(this, o); }); + $(selector).fadeIn(500); + if (!$(selector).hasClass(o.persistentClass)) { + var timer = $(selector).attr('data-timer') || o.timer; + setTimeout(function() { + closer($(selector), o); + }, timer); + } }); };