mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Don't guard against invalid helper values.
This commit is contained in:
parent
0399156637
commit
99c4de409b
2
ui/jquery.ui.draggable.js
vendored
2
ui/jquery.ui.draggable.js
vendored
@ -91,7 +91,7 @@ $.widget( "ui.draggable", $.ui.interaction, {
|
||||
this.dragDimensions = null;
|
||||
|
||||
// The actual dragging element, should always be a jQuery object
|
||||
this.dragEl = ( this.options.helper === true || $.isFunction( this.options.helper ) ) ?
|
||||
this.dragEl = this.options.helper ?
|
||||
this._createHelper( pointerPosition ) :
|
||||
this.element;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user