Skip to content
Permalink
Browse files

Sortable: Fix typo and break lines in comment.

  • Loading branch information
NiGhTTraX authored and jzaefferer committed Oct 17, 2013
1 parent 93a2dcd commit 06c4387bc94f0f71c202f8ce6b6a0551b8340506
Showing with 3 additions and 3 deletions.
  1. +3 −3 ui/jquery.ui.sortable.js
@@ -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;
}

0 comments on commit 06c4387

Please sign in to comment.
You can’t perform that action at this time.