mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
Merge pull request #5024 from kasimi/ticket/15432
[ticket/15432] Don't remove dark background if fadedark is false
This commit is contained in:
commit
18a0abcaa3
@ -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 !== 'undefined' ? fadedark : true;
|
||||
fadedark = typeof fadedark !== 'undefined' ? fadedark : true;
|
||||
|
||||
$(document).on('keydown.phpbb.alert', function(e) {
|
||||
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user