mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable - Checking if helper exists
This commit is contained in:
parent
8d11141859
commit
f69197bcec
@ -628,9 +628,10 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
|
||||
this.positionAbs = this._convertPositionTo("absolute");
|
||||
|
||||
//Set the helper's position
|
||||
this.helper[0].style.left = this.position.left+'px';
|
||||
this.helper[0].style.top = this.position.top+'px';
|
||||
|
||||
if (this.helper) {
|
||||
this.helper[0].style.left = this.position.left+'px';
|
||||
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