mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/11947] Notification link fixes
Allow clicking child elements of link that toggles notification popup PHPBB3-11947
This commit is contained in:
parent
852b707b48
commit
18d505c171
1 changed files with 4 additions and 4 deletions
|
@ -510,11 +510,11 @@ $('#notification_list_button').click(function(e) {
|
|||
e.preventDefault();
|
||||
});
|
||||
$('#phpbb').click(function(e) {
|
||||
var target = $(e.target);
|
||||
var target = $(e.target);
|
||||
|
||||
if (!target.is('#notification_list') && !target.is('#notification_list_button') && !target.parents().is('#notification_list')) {
|
||||
$('#notification_list').hide();
|
||||
}
|
||||
if (!target.is('#notification_list, #notification_list_button') && !target.parents().is('#notification_list, #notification_list_button')) {
|
||||
$('#notification_list').hide();
|
||||
}
|
||||
});
|
||||
|
||||
phpbb.ajaxCallbacks = {};
|
||||
|
|
Loading…
Add table
Reference in a new issue