Bug Tracker

Changeset 3957

Show
Ignore:
Timestamp:
11/27/07 23:47:32 (10 months ago)
Author:
aaronchi
Message:

only restore on hide

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/fx/experimental/fx.fade.js

    r3956 r3957  
    2222      el.animate(animation, o.speed, o.options.easing, function() { 
    2323        if(mode == 'hide') el.hide(); // Hide 
    24         if(mode != 'effect') $.ec.restore(el, props); // Restore 
     24        if(mode == 'hide') $.ec.restore(el, props); // Restore 
    2525        if(o.callback) o.callback.apply(this, arguments); // Callback 
    2626      });