1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-11 11:24:23 +02:00

Merge branch '3.2.x'

* 3.2.x:
  [ticket/15332] Don't remove dark background if fadedark is false
This commit is contained in:
Tristan Darricau 2017-09-07 14:36:09 +02:00
commit b2be15e46e
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

View File

@ -175,7 +175,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) {