Skip to content

Commit 1ffafe6

Browse files
committed
Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
This reverts commit b6e1f25. (cherry picked from commit b38dd26)
1 parent 3752211 commit 1ffafe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ $.widget("ui.sortable", $.ui.mouse, {
661661

662662
var el = $(document.createElement(self.currentItem[0].nodeName))
663663
.addClass(className || self.currentItem[0].className+" ui-sortable-placeholder")
664-
.removeClass("ui-sortable-helper").html(" ")[0];
664+
.removeClass("ui-sortable-helper")[0];
665665

666666
if(!className)
667667
el.style.visibility = "hidden";

0 commit comments

Comments
 (0)