Ticket #2430: overflow.patch
| File overflow.patch, 0.8 kB (added by soereen, 9 months ago) |
|---|
-
src/fx.js
69 69 return this.animate({opacity: to}, speed, callback); 70 70 }, 71 71 72 animate: function( prop, speed, easing, callback ) {72 animate: function( prop, speed, easing, callback, changeOverflow ) { 73 73 var optall = jQuery.speed(speed, easing, callback); 74 // default value of change overflow is true 75 changeOverflow = typeof(changeOverflow) == "undefined" ? true : changeOverflow; 74 76 75 77 return this[ optall.queue === false ? "each" : "queue" ](function(){ 76 78 if ( this.nodeType != 1) … … 92 94 } 93 95 } 94 96 95 if ( opt.overflow != null )97 if ( changeOverflow && opt.overflow != null ) 96 98 this.style.overflow = "hidden"; 97 99 98 100 opt.curAnim = jQuery.extend({}, prop);
