]> source.dussan.org Git - jquery-ui.git/commitdiff
Revert "Sortable: modified the contents of placeholder to a single " ". Fixed...
authorScott González <scott.gonzalez@gmail.com>
Mon, 30 Apr 2012 14:38:51 +0000 (10:38 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 30 Apr 2012 14:53:00 +0000 (10:53 -0400)
This reverts commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2.
(cherry picked from commit b38dd26da0a7297941839195ff75885d6ecc67d0)

ui/jquery.ui.sortable.js

index 8a0941f9b1d522accc8af3259e0f1d734384fb95..007ac06a34b2bff750b2fa2b75997967e6f48e46 100644 (file)
@@ -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("&nbsp;")[0];
+                                               .removeClass("ui-sortable-helper")[0];
 
                                        if(!className)
                                                el.style.visibility = "hidden";