mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
reverted r3888 un-fixing #5322 for now as trunk is in release candidate state - only criticals and blockers should be fixed until 1.8 is final
This commit is contained in:
parent
1a487a18b7
commit
e0faff7e11
4
ui/jquery.ui.sortable.js
vendored
4
ui/jquery.ui.sortable.js
vendored
@ -270,8 +270,8 @@ $.widget("ui.sortable", $.ui.mouse, {
|
||||
this.positionAbs = this._convertPositionTo("absolute");
|
||||
|
||||
//Set the helper position
|
||||
this.helper[0].style.left = this.options.axis == "y" ? this.originalPosition.left+'px' : this.position.left+'px';
|
||||
this.helper[0].style.top = this.options.axis == "x" ? this.originalPosition.top+'px' : this.position.top+'px';
|
||||
if(!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left+'px';
|
||||
if(!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top+'px';
|
||||
|
||||
//Rearrange
|
||||
for (var i = this.items.length - 1; i >= 0; i--) {
|
||||
|
Loading…
Reference in New Issue
Block a user