1
0
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:
Joas Schilling 2012-07-11 15:06:44 +02:00
parent 4aabe0cd4d
commit c4c95fddaa

View File

@ -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();
} }