Skip to content
Permalink
Browse files

Revert "Sortable: modified the contents of placeholder to a single "&…

…nbsp;". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."

This reverts commit b6e1f25.
  • Loading branch information...
scottgonzalez committed Apr 30, 2012
1 parent b579df0 commit b38dd26da0a7297941839195ff75885d6ecc67d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.sortable.js
@@ -660,7 +660,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";

0 comments on commit b38dd26

Please sign in to comment.
You can’t perform that action at this time.