If there are two colorpickers on the same page, the first colorpicker don't update his "background-color" properly when you changing its value.
It's always the last colorpicker who gets the "background-color" information.
This commit resolve this problem by changing the global variable $picker to local variable.
If there are two colorpickers on the same page, the first colorpicker don't update his "background-color" properly when you changing its value. It's always the last colorpicker who gets the "background-color" information.
This commit resolve this problem by changing the global variable $picker to local variable.