Fixed issue with hide() notn reverting back to the correct display type.
[jquery.git] / jquery / jquery.js
index a2a5218..606bd5c 100644 (file)
@@ -1609,7 +1609,7 @@ jQuery.macros = {
                 * @type jQuery
                 */
                hide: function(){
-                       this.oldblock = jQuery.css(this,"display");
+                       this.oldblock = this.oldblock || jQuery.css(this,"display");
                        if ( this.oldblock == "none" )
                                this.oldblock = "block";
                        this.style.display = "none";