]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable: Fix typo and break lines in comment.
authorAndrei Picus <office.nightcrawler@gmail.com>
Thu, 17 Oct 2013 14:20:11 +0000 (17:20 +0300)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 18 Oct 2013 15:30:32 +0000 (17:30 +0200)
ui/jquery.ui.sortable.js

index 9c7bf446cda546e48147edaf8d833a80f3b5fec1..c76a023977a876b7812e7903a96f2346e2f81301 100644 (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;
                        }