diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-15 09:43:48 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-07-09 19:05:48 +0200 |
commit | 378aaefbbf60698c7b8faafc20f6b8cb22357e31 (patch) | |
tree | d9bf0867797d4f4b60d117a050e1b72719e6f71a /app/Resources/static/themes/material/js | |
parent | b5d7eb148c4cd62ff187b08765f0c13c7d330fcf (diff) | |
download | wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.gz wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.zst wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.zip |
Notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/material/js')
-rw-r--r-- | app/Resources/static/themes/material/js/tools.js | 9 |
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 | ||
24 | export { initExport, initFilters }; | 24 | function initNotifications() { |
25 | if ($('div').is('#notifications')) { | ||
26 | $('#button_notifications').show(); | ||
27 | $('.js-notifications-action').sideNav({ edge: 'right' }); | ||
28 | } | ||
29 | } | ||
30 | |||
31 | export { initExport, initFilters, initNotifications }; | ||