mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +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;
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user