Ticket #960: show.diff
File show.diff, 688 bytes (added by , 15 years ago) |
---|
-
src/fx/fx.js
38 38 hidden.animate({ 39 39 height: "show", width: "show", opacity: "show" 40 40 }, speed, callback) : 41 41 42 42 hidden.each(function(){ 43 43 this.style.display = this.oldblock ? this.oldblock : ""; 44 if ( jQuery.css(this,"display") == "none" ) 45 this.style.display = "block"; 44 if ( jQuery.css(this,"display") == "none" ) { 45 var elem = jQuery("<"+this.tagName.toLowerCase()+">").appendTo("body"); 46 this.style.display = elem.css("display"); 47 elem.remove(); 48 } 46 49 }); 47 50 return this; 48 51 },