Fix detached color widget would not set color to correct nodes

This commit is contained in:
nathangray 2019-03-19 15:55:26 -06:00
parent 0079b0683a
commit 644249e963

View File

@ -264,7 +264,7 @@ var et2_color_ro = (function(){ "use strict"; return et2_valueWidget.extend([et2
setDetachedAttributes: function(_nodes, _values) setDetachedAttributes: function(_nodes, _values)
{ {
this.span = jQuery(_nodes[0]); this.$node = jQuery(_nodes[0]);
if(typeof _values["value"] != 'undefined') if(typeof _values["value"] != 'undefined')
{ {
this.set_value(_values["value"]); this.set_value(_values["value"]);