mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
draggable: defaults should be set to 'false' if disabled, not null (fixes #3878)
This commit is contained in:
parent
bcda57c355
commit
aba53d09fd
@ -405,14 +405,14 @@ $.extend($.ui.draggable, {
|
|||||||
containment: false,
|
containment: false,
|
||||||
cssNamespace: "ui",
|
cssNamespace: "ui",
|
||||||
cursor: "default",
|
cursor: "default",
|
||||||
cursorAt: null,
|
cursorAt: false,
|
||||||
delay: 0,
|
delay: 0,
|
||||||
distance: 1,
|
distance: 1,
|
||||||
grid: false,
|
grid: false,
|
||||||
handle: false,
|
handle: false,
|
||||||
helper: "original",
|
helper: "original",
|
||||||
iframeFix: false,
|
iframeFix: false,
|
||||||
opacity: null,
|
opacity: false,
|
||||||
refreshPositions: false,
|
refreshPositions: false,
|
||||||
revert: false,
|
revert: false,
|
||||||
revertDuration: 500,
|
revertDuration: 500,
|
||||||
@ -424,7 +424,7 @@ $.extend($.ui.draggable, {
|
|||||||
snapMode: "both",
|
snapMode: "both",
|
||||||
snapTolerance: 20,
|
snapTolerance: 20,
|
||||||
stack: false,
|
stack: false,
|
||||||
zIndex: null
|
zIndex: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user