1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-11 02:30:39 +00:00

Color none, update example

This commit is contained in:
2017-11-14 12:12:12 +01:00
parent fa45d9033b
commit 6da6c3841b
3 changed files with 24 additions and 9 deletions

View File

@ -21,6 +21,7 @@ const C_WETASPHALT = 3;
const C_SUNFLOWER = 4;
const C_CARROT = 5;
const C_ALIZARIN = 6;
const C_NONE = 7;
function colorClass(colorId){
colorId = Number(colorId);
@ -52,8 +53,13 @@ function colorClass(colorId){
case C_ALIZARIN:
return "alizarin"
break;
case C_NONE:
return ""
break;
default:
return "alizarin";
return "";
}
}