Skip to content

Commit

Permalink
Revert "Sortable: modified the contents of placeholder to a single "&…
Browse files Browse the repository at this point in the history
…nbsp;". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."

This reverts commit b6e1f25.
(cherry picked from commit b38dd26)
  • Loading branch information
scottgonzalez committed Apr 30, 2012
1 parent 3752211 commit 1ffafe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.sortable.js
Expand Up @@ -661,7 +661,7 @@ $.widget("ui.sortable", $.ui.mouse, {

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

if(!className)
el.style.visibility = "hidden";
Expand Down

0 comments on commit 1ffafe6

Please sign in to comment.