Bug Tracker

Changeset 5378

Show
Ignore:
Timestamp:
05/02/08 14:12:26 (8 months ago)
Author:
aflesler
Message:

jquery fx: adding jQuery.fx.def as default speed for animations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/fx.js

    r5374 r5378  
    219219        opt.duration = (opt.duration && opt.duration.constructor == Number ?  
    220220            opt.duration :  
    221             jQuery.fx.speeds[opt.duration]) || 400; 
     221            jQuery.fx.speeds[opt.duration]) || jQuery.fx.speeds.def; 
    222222     
    223223        // Queueing 
     
    405405    speeds:{ 
    406406        slow: 600,   
    407         fast: 200   
     407        fast: 200, 
     408        def: 400 //default speed 
    408409    }, 
    409410    step: {