mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/10982] Correctly check, whether data-overlay is set
PHPBB3-10982
This commit is contained in:
parent
4aabe0cd4d
commit
c4c95fddaa
@ -383,7 +383,7 @@ phpbb.ajaxify = function(options) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (overlay && (!$this.attr('data-overlay') || $this.attr('data-overlay') == true))
|
if (overlay && (typeof $this.attr('data-overlay') === 'undefined' || $this.attr('data-overlay') == 'true'))
|
||||||
{
|
{
|
||||||
phpbb.loading_alert();
|
phpbb.loading_alert();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user