aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/js/tools.js
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-05-12 15:02:32 +0200
committerThomas Citharel <tcit@tcit.fr>2017-05-25 19:09:52 +0200
commit22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b (patch)
tree221d5cbf49107a83f223dae6afd8db8fab6ede1f /app/Resources/static/themes/material/js/tools.js
parent35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (diff)
downloadwallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.tar.gz
wallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.tar.zst
wallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.zip
First draft for notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/material/js/tools.js')
-rw-r--r--app/Resources/static/themes/material/js/tools.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/Resources/static/themes/material/js/tools.js b/app/Resources/static/themes/material/js/tools.js
index 39398fd8..492640a0 100644
--- a/app/Resources/static/themes/material/js/tools.js
+++ b/app/Resources/static/themes/material/js/tools.js
@@ -21,4 +21,11 @@ function initExport() {
21 } 21 }
22} 22}
23 23
24export { initExport, initFilters }; 24function initNotifications() {
25 if ($('div').is('#notifications')) {
26 $('#button_notifications').show();
27 $('.js-notifications-action').sideNav({ edge: 'right' });
28 }
29}
30
31export { initExport, initFilters, initNotifications };