diff options
Diffstat (limited to 'phpBB/styles/subsilver2/template/common.js')
| -rw-r--r-- | phpBB/styles/subsilver2/template/common.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/phpBB/styles/subsilver2/template/common.js b/phpBB/styles/subsilver2/template/common.js deleted file mode 100644 index c9e6221e2e..0000000000 --- a/phpBB/styles/subsilver2/template/common.js +++ /dev/null @@ -1,18 +0,0 @@ -(function($) { // Avoid conflicts with other libraries - -"use strict"; - -// Toggle notification list -$('#notification_list_button').click(function(e) { - $('#notification_list').toggle(); - e.preventDefault(); -}); -$(document).click(function(e) { - var target = e.target; - - if (!$(target).is('#notification_list') && !$(target).is('#notification_list_button') && !$(target).parents().is('#notification_list')) { - $('#notification_list').hide(); - } -}); - -})(jQuery); // Avoid conflicts with other libraries |
