Skip to content

Commit 6e613bd

Browse files
NiGhTTraXscottgonzalez
authored andcommitted
Sortable: Fix typo and break lines in comment.
(cherry picked from commit 06c4387)
1 parent 01a0da8 commit 6e613bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/jquery.ui.sortable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,12 @@ $.widget("ui.sortable", $.ui.mouse, {
365365
}
366366

367367
// Only put the placeholder inside the current Container, skip all
368-
// items form other containers. This works because when moving
368+
// items from other containers. This works because when moving
369369
// an item from one container to another the
370370
// currentContainer is switched before the placeholder is moved.
371371
//
372-
// Without this moving items in "sub-sortables" can cause the placeholder to jitter
373-
// beetween the outer and inner container.
372+
// Without this, moving items in "sub-sortables" can cause
373+
// the placeholder to jitter beetween the outer and inner container.
374374
if (item.instance !== this.currentContainer) {
375375
continue;
376376
}

0 commit comments

Comments
 (0)