mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10982] Correctly check, whether data-overlay is set
PHPBB3-10982
This commit is contained in:
parent
4aabe0cd4d
commit
c4c95fddaa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue