missing setAttribute optimization fixed
This commit is contained in:
parent
168ea97567
commit
400ba5b10c
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ createWidget.rgb = function(widgetData) {
|
|||
rgb = hsbToRgb({h:h,s:100,b:100}),
|
||||
v = widget.getValue();
|
||||
|
||||
pad.css('style','background-color:rgb('+rgb.r+','+rgb.g+','+rgb.b+')')
|
||||
pad[0].setAttribute('style','background-color:rgb('+rgb.r+','+rgb.g+','+rgb.b+')')
|
||||
widget.sendValue(v);
|
||||
widget.showValue(v);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue