aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-07-11 15:06:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-07-11 15:06:44 +0200
commitc4c95fddaa865b6639305415a6e0908bb9cd6691 (patch)
treeee2cc070b83269ceedd44351de8702dd197db138
parent4aabe0cd4d2bc4f0c56d40b5a65d5cf2c3187c1d (diff)
downloadforums-c4c95fddaa865b6639305415a6e0908bb9cd6691.tar
forums-c4c95fddaa865b6639305415a6e0908bb9cd6691.tar.gz
forums-c4c95fddaa865b6639305415a6e0908bb9cd6691.tar.bz2
forums-c4c95fddaa865b6639305415a6e0908bb9cd6691.tar.xz
forums-c4c95fddaa865b6639305415a6e0908bb9cd6691.zip
[ticket/10982] Correctly check, whether data-overlay is set
PHPBB3-10982
-rw-r--r--phpBB/assets/javascript/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 1c5024a1a1..6b1b08c424 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -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();
}