Skip to content

Commit 0f221c6

Browse files
committed
Fix loading of childgroups if index is 0
closes johnny#41
1 parent 6b99f04 commit 0f221c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

TODO

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
- [0/0] bugs
1+
- [0/2] bugs
2+
- [ ] last Pointer is NaN in search valid target
3+
- [ ] prevent infinite recursion
24
- [0/5] consider
35
- [ ] better name for searchValidTarget
46
- [ ] shortcut on getNearest()

source/js/jquery-sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215

216216
ContainerGroup.get = function (options) {
217217
if( !containerGroups[options.group]) {
218-
if(!options.group)
218+
if(options.group === undefined)
219219
options.group = groupCounter ++
220220
containerGroups[options.group] = new ContainerGroup(options)
221221
}

0 commit comments

Comments
 (0)