aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rwxr-xr-xapp/Resources/static/themes/material/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js
index 435cd02f..e16749f6 100755
--- a/app/Resources/static/themes/material/index.js
+++ b/app/Resources/static/themes/material/index.js
@@ -76,4 +76,13 @@ $(document).ready(() => {
76 const scrollPercent = (s / (d - c)) * 100; 76 const scrollPercent = (s / (d - c)) * 100;
77 $('.progress .determinate').css('width', `${scrollPercent}%`); 77 $('.progress .determinate').css('width', `${scrollPercent}%`);
78 }); 78 });
79
80 $('.notification').on('click', () => {
81 $.ajax({
82 url: Routing.generate('notification-archive-all'),
83 method: 'GET',
84 }).done(() => {
85 $('#notifications').sideNav('hide');
86 });
87 });
79}); 88});