Browse files

fixing the overflow/height restoration which was causing issues in IE7

  • Loading branch information...
1 parent 1f0e34f commit 182bf82e5d70044addb67096325478eb8c7d8347 @anutron anutron committed Mar 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Fx/Fx.Reveal.js
View
2 Source/Fx/Fx.Reveal.js
@@ -120,12 +120,12 @@ Fx.Reveal = new Class({
//start the effect
this.start(startStyles);
this.$chain.unshift(function(){
+ this.element.setStyle('overflow', overflowBefore);
if (!this.options.heightOverride && setToAuto){
if (['vertical', 'both'].contains(this.options.mode)) this.element.setStyle('height', 'auto');
if (['width', 'both'].contains(this.options.mode)) this.element.setStyle('width', 'auto');
}
if (!this.hidden) this.showing = false;
- this.element.setStyle('overflow', overflowBefore);
this.callChain();
this.fireEvent('show', this.element);
}.bind(this));

0 comments on commit 182bf82

Please sign in to comment.