Project

General

Profile

Bug #2048 » wstackedwidget_ff_animation_fix_20130717a.diff

Bruce Toll, 07/18/2013 08:02 PM

View differences:

src/js/WStackedWidget.js
to.style.width = w + 'px';
to.style.height = h + 'px';
to.style.position = 'absolute';
if (effects & Fade)
to.style.opacity = '0';
to.style.display = style.display;
var needReverse = reverseIfPrecedes && (index.to < index.from),
......
$(from).addClass(anim + ' out');
$(to).addClass(anim + ' in');
if (effects & Fade)
to.style.opacity = '1';
$(to).one(animationEventEnd, restore);
};
(2-2/2)