From 1ffafe65b0dd2d8b0ae4dfcfe3beffb3123c7caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 30 Apr 2012 10:38:51 -0400 Subject: [PATCH] Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down." This reverts commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2. (cherry picked from commit b38dd26da0a7297941839195ff75885d6ecc67d0) --- ui/jquery.ui.sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index 8a0941f9b..007ac06a3 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -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";