mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 20:40:24 +02:00
[ticket/11947] Notification link fixes
Allow clicking child elements of link that toggles notification popup PHPBB3-11947
This commit is contained in:
@@ -512,7 +512,7 @@ $('#notification_list_button').click(function(e) {
|
|||||||
$('#phpbb').click(function(e) {
|
$('#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')) {
|
if (!target.is('#notification_list, #notification_list_button') && !target.parents().is('#notification_list, #notification_list_button')) {
|
||||||
$('#notification_list').hide();
|
$('#notification_list').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user