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 e3f0a2462 fixup! [#8537] moved g analytics further down the page
e3f0a2462 is described below

commit e3f0a24626dd6dc75faa885b404594c435c18e42
Author: Guillermo Cruz <guillermo.c...@slashdotmedia.com>
AuthorDate: Fri Mar 1 14:27:40 2024 -0700

    fixup! [#8537] moved g analytics further down the page
---
 Allura/allura/public/nf/js/jquery.notify.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Allura/allura/public/nf/js/jquery.notify.js 
b/Allura/allura/public/nf/js/jquery.notify.js
index 7e81ff58f..7b4b4bb76 100644
--- a/Allura/allura/public/nf/js/jquery.notify.js
+++ b/Allura/allura/public/nf/js/jquery.notify.js
@@ -107,7 +107,10 @@
                 });
             }
             $('.' + o.messageClass, self).addClass(o.newClass);
-            scanMessages(self, o);
+            var selector = '.' + o.newClass + '.' + o.messageClass;
+            $('body').on("click", selector, function(e) {
+              closer(this, o);
+            });
         });
     };
 

Reply via email to