aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-07-25 08:53:42 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-07-25 08:53:42 +0000
commit112493b8b9c9f9d93769fc54d05c6d3433dfcba3 (patch)
treef2f3f3707f3147370c8c00859104f1ad2320efab /ui/ui.draggable.js
parent531970d4ac851acd1b81d424b6703c19175e6e9f (diff)
downloadjquery-ui-112493b8b9c9f9d93769fc54d05c6d3433dfcba3.tar.gz
jquery-ui-112493b8b9c9f9d93769fc54d05c6d3433dfcba3.zip
draggable: since revert no longer checks for numbers, introduced a revertDuration option
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 3ee2a46a6..80024a4d6 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -219,7 +219,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
if((this.options.revert == "invalid" && !dropped) || (this.options.revert == "valid" && dropped) || this.options.revert === true) {
var self = this;
- $(this.helper).animate(this.originalPosition, parseInt(this.options.revert, 10) || 500, function() {
+ $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10) || 500, function() {
self.propagate("stop", e);
self.clear();
});