Skip to content

Commit d6076f5

Browse files
committed
cleanup
1 parent e63b75b commit d6076f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/js/jquery-sortable.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,7 @@
245245
this.dragging = true
246246
}
247247

248-
if(!this.setPointer(e))
249-
return;
250-
248+
this.setPointer(e)
251249
// place item under the cursor
252250
this.options.onDrag(this.item,
253251
getRelativePosition(this.pointer, this.item.offsetParent()),
@@ -369,7 +367,6 @@
369367

370368
this.lastPointer = this.pointer
371369
this.pointer = pointer
372-
return true
373370
},
374371
addContainer: function (container) {
375372
this.containers.push(container);

0 commit comments

Comments
 (0)