From: Tim Düsterhus Date: Tue, 31 May 2022 09:31:02 +0000 (+0200) Subject: Rebuild compiled JavaScript X-Git-Tag: 5.5.0_Beta_4~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=815516f42b140d319fd0950630fde12196875098;p=GitHub%2FWoltLab%2FWCF.git Rebuild compiled JavaScript see 616e644de7e6954572b09e01d38f907b82bcf778 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js b/wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js index 5848215e56..512e7bbb8c 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js @@ -107,8 +107,8 @@ define(["require", "exports"], function (require, exports) { r /= 255; g /= 255; b /= 255; - const max = Math.max(Math.max(r, g), b); - const min = Math.min(Math.min(r, g), b); + const max = Math.max(r, g, b); + const min = Math.min(r, g, b); const diff = max - min; h = 0; if (max !== min) {