From: Alexander Ebert Date: Thu, 14 Sep 2017 13:39:10 +0000 (+0200) Subject: Prevent clicks on the background from closing the color picker X-Git-Tag: 3.1.0_Alpha_4~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a5d85b41ee663e5bede5661e50ec2636340e61f;p=GitHub%2FWoltLab%2FWCF.git Prevent clicks on the background from closing the color picker --- diff --git a/wcfsetup/install/files/js/WCF.ColorPicker.js b/wcfsetup/install/files/js/WCF.ColorPicker.js index 9b18167cd2..e8ca65c7ee 100644 --- a/wcfsetup/install/files/js/WCF.ColorPicker.js +++ b/wcfsetup/install/files/js/WCF.ColorPicker.js @@ -156,7 +156,8 @@ if (COMPILER_TARGET_DEFAULT) { this._oldColor.css({backgroundColor: 'rgba(' + $rgb.r + ', ' + $rgb.g + ', ' + $rgb.b + ', ' + (this._rgba.a.val() / 100) + ')'}); this._dialog.wcfDialog({ - 'title': WCF.Language.get('wcf.style.colorPicker') + backdropCloseOnClick: false, + title: WCF.Language.get('wcf.style.colorPicker') }); // set default focus