aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-30 10:38:51 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-30 10:38:51 -0400
commitb38dd26da0a7297941839195ff75885d6ecc67d0 (patch)
tree717f22362134dd0fd07af84d4b81ce3e7cdc55ac
parentb579df0f0926bd208b943a14f2ad1441fc44b59f (diff)
downloadjquery-ui-b38dd26da0a7297941839195ff75885d6ecc67d0.tar.gz
jquery-ui-b38dd26da0a7297941839195ff75885d6ecc67d0.zip
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 b6e1f25ab8c038306146a6ead041dc18bfb9e8c2.
-rw-r--r--ui/jquery.ui.sortable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js
index 5373967df..3378192c9 100644
--- a/ui/jquery.ui.sortable.js
+++ b/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("&nbsp;")[0];
+ .removeClass("ui-sortable-helper")[0];
if(!className)
el.style.visibility = "hidden";