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;
}