This commit is contained in:
Alex Solomaha
2017-03-12 16:04:57 +02:00
parent 8ba4894aa4
commit f3cf44ff08

View File

@@ -58,6 +58,9 @@ function onMessage(e) {
case 'value':
updateValue(data);
break;
case 'rgb':
updateRGB(data.item_id, data);
break;
case 'error':
showErrorMessage(data.message);
break;