mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-17 21:10:00 +02:00
Merge pull request #1799 from cyberalien/ticket/11947
[ticket/11947] Notification link fixes
This commit is contained in:
commit
3b39a44b00
@ -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…
x
Reference in New Issue
Block a user