Changeset 484

Show
Ignore:
Timestamp:
07/25/08 01:53:42 (20 months ago)
Author:
paul.bakaus
Message:

draggable: since revert no longer checks for numbers, introduced a revertDuration option

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/ui.draggable.js

    r468 r484  
    220220                if((this.options.revert == "invalid" && !dropped) || (this.options.revert == "valid" && dropped) || this.options.revert === true) { 
    221221                        var self = this; 
    222                         $(this.helper).animate(this.originalPosition, parseInt(this.options.revert, 10) || 500, function() { 
     222                        $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10) || 500, function() { 
    223223                                self.propagate("stop", e); 
    224224                                self.clear();