Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit f0b7130a5459d9f34b1e05ad6306d3909131bd8c 1 parent 35e2919
Bert ter Heide authored February 24, 2012 scottgonzalez committed February 24, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ui/jquery.ui.sortable.js
2  ui/jquery.ui.sortable.js
@@ -661,7 +661,7 @@ $.widget("ui.sortable", $.ui.mouse, {
661 661
 
662 662
 					var el = $(document.createElement(self.currentItem[0].nodeName))
663 663
 						.addClass(className || self.currentItem[0].className+" ui-sortable-placeholder")
664  
-						.removeClass("ui-sortable-helper")[0];
  664
+						.removeClass("ui-sortable-helper").html(" ")[0];
665 665
 
666 666
 					if(!className)
667 667
 						el.style.visibility = "hidden";

0 notes on commit f0b7130

Please sign in to comment.
Something went wrong with that request. Please try again.