mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Sortable: Fix typo and break lines in comment.
(cherry picked from commit 06c4387bc9
)
This commit is contained in:
parent
01a0da8105
commit
6e613bd3aa
6
ui/jquery.ui.sortable.js
vendored
6
ui/jquery.ui.sortable.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user