We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7640d commit 1af1425Copy full SHA for 1af1425
jquery.sortable.js
@@ -70,6 +70,9 @@ $.fn.sortable = function(options) {
70
dragging.hide();
71
$(this)[placeholder.index() < $(this).index() ? 'after' : 'before'](placeholder);
72
placeholders.not(placeholder).detach();
73
+ } else if (!placeholders.is(this) && !$(this).children(options.items).length) {
74
+ placeholders.detach();
75
+ $(this).append(placeholder);
76
}
77
return false;
78
});
0 commit comments