aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/js/tools.js
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-06-15 09:43:48 +0200
committerThomas Citharel <tcit@tcit.fr>2017-06-23 09:42:20 +0200
commite0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37 (patch)
tree904f42fa442188bf456b9773295fb9582634ba6c /app/Resources/static/themes/material/js/tools.js
parent29714661b1df78871ceaf0e079f11041a8641d4b (diff)
downloadwallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.tar.gz
wallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.tar.zst
wallabag-e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37.zip
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 };