mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
sortable: the outer container is not set to relative anymore, preventing some weird IE bugs
This commit is contained in:
parent
36d96a9e82
commit
357a3c38b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user