aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2017-08-21 15:30:07 +0200
committerkasimi <mail@kasimi.net>2017-08-21 15:37:46 +0200
commitd3305ad13ee352b299a772bc111b02f1fda84f67 (patch)
tree2bf97d0569f9ce06b0fafbc4cfb13234ea2a4a48 /phpBB
parent1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff)
downloadforums-d3305ad13ee352b299a772bc111b02f1fda84f67.tar
forums-d3305ad13ee352b299a772bc111b02f1fda84f67.tar.gz
forums-d3305ad13ee352b299a772bc111b02f1fda84f67.tar.bz2
forums-d3305ad13ee352b299a772bc111b02f1fda84f67.tar.xz
forums-d3305ad13ee352b299a772bc111b02f1fda84f67.zip
[ticket/15332] Don't remove dark background if fadedark is false
PHPBB3-15332
Diffstat (limited to 'phpBB')
-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 7dcedaef80..1be8a5784d 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -179,7 +179,7 @@ phpbb.alert.close = function($alert, fadedark) {
phpbb.confirm = function(msg, callback, fadedark) {
var $confirmDiv = $('#phpbb_confirm');
$confirmDiv.find('.alert_text').html(msg);
- fadedark = fadedark || true;
+ fadedark = fadedark !== 'undefined' ? fadedark : true;
$(document).on('keydown.phpbb.alert', function(e) {
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {