diff options
author | kasimi <mail@kasimi.net> | 2017-08-21 15:30:07 +0200 |
---|---|---|
committer | kasimi <mail@kasimi.net> | 2017-08-21 15:37:46 +0200 |
commit | d3305ad13ee352b299a772bc111b02f1fda84f67 (patch) | |
tree | 2bf97d0569f9ce06b0fafbc4cfb13234ea2a4a48 /phpBB | |
parent | 1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff) | |
download | forums-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.js | 2 |
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) { |