|
|
@ -23,7 +23,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
})(function () { |
|
|
|
})(function () { |
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
if (typeof window == "undefined" || typeof window.document == "undefined") { |
|
|
|
if (typeof window == "undefined" || typeof window.document == "undefined") { |
|
|
|
return function() { |
|
|
|
return function() { |
|
|
|
throw new Error( "Sortable.js requires a window with a document" ); |
|
|
|
throw new Error( "Sortable.js requires a window with a document" ); |
|
|
@ -335,7 +335,7 @@ |
|
|
|
_this._disableDelayedDrag(); |
|
|
|
_this._disableDelayedDrag(); |
|
|
|
|
|
|
|
|
|
|
|
// Make the element draggable
|
|
|
|
// Make the element draggable
|
|
|
|
dragEl.draggable = true; |
|
|
|
dragEl.draggable = _this.nativeDraggable; |
|
|
|
|
|
|
|
|
|
|
|
// Chosen item
|
|
|
|
// Chosen item
|
|
|
|
_toggleClass(dragEl, _this.options.chosenClass, true); |
|
|
|
_toggleClass(dragEl, _this.options.chosenClass, true); |
|
|
|