mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #4912 from kasimi/ticket/15332
[ticket/15332] Don't remove dark background if fadedark is false * github.com:phpbb/phpbb: [ticket/15332] Don't remove dark background if fadedark is false
This commit is contained in:
commit
f3b5862468
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ phpbb.alert.close = function($alert, fadedark) {
|
||||||
phpbb.confirm = function(msg, callback, fadedark) {
|
phpbb.confirm = function(msg, callback, fadedark) {
|
||||||
var $confirmDiv = $('#phpbb_confirm');
|
var $confirmDiv = $('#phpbb_confirm');
|
||||||
$confirmDiv.find('.alert_text').html(msg);
|
$confirmDiv.find('.alert_text').html(msg);
|
||||||
fadedark = fadedark || true;
|
fadedark = fadedark !== 'undefined' ? fadedark : true;
|
||||||
|
|
||||||
$(document).on('keydown.phpbb.alert', function(e) {
|
$(document).on('keydown.phpbb.alert', function(e) {
|
||||||
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {
|
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue