mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/11103] Hide notifications flyout on a click outside of the list.
PHPBB3-11103
This commit is contained in:
@@ -80,6 +80,13 @@ $('#qr_full_editor').click(function() {
|
||||
$('#notification_list_button').click(function() {
|
||||
$('#notification_list').toggle();
|
||||
});
|
||||
$('#phpbb').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();
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* This AJAXifies the quick-mod tools. The reason it cannot be a standard
|
||||
|
Reference in New Issue
Block a user