diff --git a/ui/ui.colorpicker.js b/ui/ui.colorpicker.js index 60a93d6a4..4919804e8 100644 --- a/ui/ui.colorpicker.js +++ b/ui/ui.colorpicker.js @@ -18,7 +18,7 @@ $.widget("ui.colorpicker", { this.charMin = 65; var o = this.options, self = this, - tpl = '
'; + tpl = '
'; if (typeof o.color == 'string') { this.color = this.HexToHSB(o.color); diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js index ec42d2589..81b71fb24 100644 --- a/ui/ui.sortable.js +++ b/ui/ui.sortable.js @@ -38,7 +38,6 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, { this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) : false; //Let's determine the parent's offset - //if(!(/(relative|absolute|fixed)/).test(this.element.css('position'))) this.element.css('position', 'relative'); this.offset = this.element.offset(); //Initialize mouse events for interaction