Sortable: Fix typo and break lines in comment.

This commit is contained in:
Andrei Picus 2013-10-17 17:20:11 +03:00 committed by Jörn Zaefferer
parent 93a2dcde52
commit 06c4387bc9

View File

@ -354,12 +354,12 @@ $.widget("ui.sortable", $.ui.mouse, {
}
// 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
// currentContainer is switched before the placeholder is moved.
//
// Without this moving items in "sub-sortables" can cause the placeholder to jitter
// beetween the outer and inner container.
// Without this, moving items in "sub-sortables" can cause
// the placeholder to jitter beetween the outer and inner container.
if (item.instance !== this.currentContainer) {
continue;
}