mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
commit
b2be15e46e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue