Sortable: Fix typo and break lines in comment.

(cherry picked from commit 06c4387bc9)
This commit is contained in:
Andrei Picus 2013-10-17 17:20:11 +03:00 committed by Scott González
parent 01a0da8105
commit 6e613bd3aa

View File

@ -365,12 +365,12 @@ $.widget("ui.sortable", $.ui.mouse, {
} }
// Only put the placeholder inside the current Container, skip all // Only put the placeholder inside the current Container, skip all
// items form other containers. This works because when moving // items from other containers. This works because when moving
// an item from one container to another the // an item from one container to another the
// currentContainer is switched before the placeholder is moved. // currentContainer is switched before the placeholder is moved.
// //
// Without this moving items in "sub-sortables" can cause the placeholder to jitter // Without this, moving items in "sub-sortables" can cause
// beetween the outer and inner container. // the placeholder to jitter beetween the outer and inner container.
if (item.instance !== this.currentContainer) { if (item.instance !== this.currentContainer) {
continue; continue;
} }