aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2025-01-31 13:58:57 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-31 13:58:57 +0100
commitf72f5e95238a866c39535932c803720d7644a276 (patch)
tree3e8069c5fba45068a6d4f3f99eb3a0d5ba8eb9e5 /p/scripts
parentd1eb85e374c064146c0519d4bf6ca7e936a8014c (diff)
Improve notification banner (#7268)
* a -> button * i18n: Close * a.close -> .close * themes * Apply suggestions from code review Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update app/i18n/fr/gen.php --------- Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 1dce5f9fc..2face429d 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -1690,7 +1690,7 @@ function closeNotification() {
function init_notifications() {
notification = document.getElementById('notification');
- notification.querySelector('a.close').addEventListener('click', function (ev) {
+ notification.querySelector('.close').addEventListener('click', function (ev) {
closeNotification();
ev.preventDefault();
return false;