mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
fhemweb_colorpicker.js: fix usage in set from detail view. see: https://forum.fhem.de/index.php/topic,98880.msg996516.html#msg996516
git-svn-id: https://svn.fhem.de/fhem/trunk@20581 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
42d2eca346
commit
302f2299c5
@ -81,7 +81,7 @@ FW_colorpickerCreate(elName, devName, vArr, currVal, set, params, cmd)
|
||||
|
||||
if( cmds[index] )
|
||||
cmds[index]( parseInt(arg * ranges[index][2]) );
|
||||
else
|
||||
else if( cmd )
|
||||
cmd( rgb );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user