From f8deb535b5fb69f7ab0d78adb07aeac0ff49b00e Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Tue, 10 Sep 2019 12:36:09 +0300 Subject: [PATCH] lights: selector typo --- code/html/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/html/custom.js b/code/html/custom.js index 97f7fe06..29835d8c 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -1471,13 +1471,13 @@ function processData(data) { if ("rgb" === key) { initColor({rgb: true}); - $("input[name='color']").wheelColorPicker("setValue", value, true); + setPickerRGB($("input[name='color']"), value); return; } if ("hsv" === key) { initColor({hsv: true}); - setPickerHSV(value); + setPickerHSV($("input[name='color']"), value); return; }