From 0a5d85b41ee663e5bede5661e50ec2636340e61f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 14 Sep 2017 15:39:10 +0200 Subject: [PATCH] Prevent clicks on the background from closing the color picker --- wcfsetup/install/files/js/WCF.ColorPicker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1