Etemplate: Fix unable to clear color picker

This commit is contained in:
nathangray 2019-09-17 09:11:14 -06:00
parent 84f8e3a572
commit 0e8b0e0562

View File

@ -46,7 +46,7 @@ var et2_color = (function(){ "use strict"; return et2_inputWidget.extend(
var value = this.$node.val(); var value = this.$node.val();
if(value === '#FFFFFF' || value === '#ffffff') if(value === '#FFFFFF' || value === '#ffffff')
{ {
return null; return '';
} }
return value; return value;
}, },