mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
droppable: defaults should be set to 'false' if disabled, not null (fixes #3881)
This commit is contained in:
parent
3c569353ec
commit
670d3e0ac9
@ -120,8 +120,6 @@ $.widget("ui.droppable", {
|
||||
|
||||
},
|
||||
|
||||
plugins: {},
|
||||
|
||||
ui: function(c) {
|
||||
return {
|
||||
draggable: (c.currentItem || c.element),
|
||||
@ -138,10 +136,10 @@ $.extend($.ui.droppable, {
|
||||
eventPrefix: 'drop',
|
||||
defaults: {
|
||||
accept: '*',
|
||||
activeClass: null,
|
||||
activeClass: false,
|
||||
cssNamespace: 'ui',
|
||||
greedy: false,
|
||||
hoverClass: null,
|
||||
hoverClass: false,
|
||||
scope: 'default',
|
||||
tolerance: 'intersect'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user