[ticket/11947] Notification link fixes

Allow clicking child elements of link that toggles notification popup

PHPBB3-11947
This commit is contained in:
Vjacheslav Trushkin 2013-10-19 02:18:22 +03:00
parent 852b707b48
commit 18d505c171

View file

@ -512,7 +512,7 @@ $('#notification_list_button').click(function(e) {
$('#phpbb').click(function(e) {
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();
}
});