aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 10:06:59 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 10:06:59 +0000
commitaba53d09fd03790ef4d4c3d39197436851e4b7a2 (patch)
tree9728bca303fee859327844a3224910f2bdbad88b
parentbcda57c355a7e227999ef1286130330ceb7ad6a3 (diff)
downloadjquery-ui-aba53d09fd03790ef4d4c3d39197436851e4b7a2.tar.gz
jquery-ui-aba53d09fd03790ef4d4c3d39197436851e4b7a2.zip
draggable: defaults should be set to 'false' if disabled, not null (fixes #3878)
-rw-r--r--ui/ui.draggable.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index da483bfaa..e9b9142b6 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -405,14 +405,14 @@ $.extend($.ui.draggable, {
containment: false,
cssNamespace: "ui",
cursor: "default",
- cursorAt: null,
+ cursorAt: false,
delay: 0,
distance: 1,
grid: false,
handle: false,
helper: "original",
iframeFix: false,
- opacity: null,
+ opacity: false,
refreshPositions: false,
revert: false,
revertDuration: 500,
@@ -424,7 +424,7 @@ $.extend($.ui.draggable, {
snapMode: "both",
snapTolerance: 20,
stack: false,
- zIndex: null
+ zIndex: false
}
});