sortable: the outer container is not set to relative anymore, preventing some weird IE bugs

This commit is contained in:
Paul Bakaus 2008-07-29 01:58:21 +00:00
parent 36d96a9e82
commit 357a3c38b9

View File

@ -38,7 +38,7 @@ $.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');
//if(!(/(relative|absolute|fixed)/).test(this.element.css('position'))) this.element.css('position', 'relative');
this.offset = this.element.offset();
//Initialize mouse events for interaction