Skip to content

Commit 12eb312

Browse files
authored
Merge pull request #3 from thePrincipal/feature/Issue-347
fix building ng-sortable
2 parents 01e0ba3 + b9eaa25 commit 12eb312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/ng-sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
targetElementOffset: null,
268268
sourceInfo: {
269269
index: item.index(),
270-
itemScope: item.itemScope,
270+
itemScope: ( item.itemScope || item ),
271271
sortableScope: item.sortableScope
272272
},
273273
canMove: function(itemPosition, targetElement, targetElementOffset) {

0 commit comments

Comments
 (0)