diff --git a/web_widget_color/static/src/js/widget.js b/web_widget_color/static/src/js/widget.js index 418a53f79..0321d1387 100644 --- a/web_widget_color/static/src/js/widget.js +++ b/web_widget_color/static/src/js/widget.js @@ -16,7 +16,14 @@ odoo.define('web.web_widget_color', function(require) { _renderEdit: function() { this.$input = this.$el.find('input'); - this.jscolor = new jscolor(this.$input[0], {hash:true, zIndex:2000}); + $wrapper = $('