mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00:00
Merge pull request #1799 from cyberalien/ticket/11947
[ticket/11947] Notification link fixes
This commit is contained in:
commit
3b39a44b00
1 changed files with 4 additions and 4 deletions
|
@ -510,11 +510,11 @@ $('#notification_list_button').click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
$('#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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
phpbb.ajaxCallbacks = {};
|
phpbb.ajaxCallbacks = {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue