1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-04 08:54:44 +02:00

Merge pull request #1799 from cyberalien/ticket/11947

[ticket/11947] Notification link fixes
This commit is contained in:
Nils Adermann
2013-10-20 11:07:51 -07:00

View File

@ -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 = {};