mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."
This reverts commit b6e1f25ab8
.
This commit is contained in:
parent
b579df0f09
commit
b38dd26da0
2
ui/jquery.ui.sortable.js
vendored
2
ui/jquery.ui.sortable.js
vendored
@ -660,7 +660,7 @@ $.widget("ui.sortable", $.ui.mouse, {
|
|||||||
|
|
||||||
var el = $(document.createElement(self.currentItem[0].nodeName))
|
var el = $(document.createElement(self.currentItem[0].nodeName))
|
||||||
.addClass(className || self.currentItem[0].className+" ui-sortable-placeholder")
|
.addClass(className || self.currentItem[0].className+" ui-sortable-placeholder")
|
||||||
.removeClass("ui-sortable-helper").html(" ")[0];
|
.removeClass("ui-sortable-helper")[0];
|
||||||
|
|
||||||
if(!className)
|
if(!className)
|
||||||
el.style.visibility = "hidden";
|
el.style.visibility = "hidden";
|
||||||
|
Loading…
Reference in New Issue
Block a user