From 815516f42b140d319fd0950630fde12196875098 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 31 May 2022 11:31:02 +0200 Subject: [PATCH] Rebuild compiled JavaScript see 616e644de7e6954572b09e01d38f907b82bcf778 --- wcfsetup/install/files/js/WoltLabSuite/Core/ColorUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.20.1