Skip to content
Permalink
Browse files
Sortable: modified the contents of placeholder to a single " ". …
…Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.

(cherry picked from commit b6e1f25)
  • Loading branch information
bertterheide authored and scottgonzalez committed Feb 24, 2012
1 parent 35e2919 commit f0b7130a5459d9f34b1e05ad6306d3909131bd8c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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")[0];
.removeClass("ui-sortable-helper").html(" ")[0];

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

0 comments on commit f0b7130

Please sign in to comment.