Skip to content
Permalink
Browse files
Fixed issue with hide() notn reverting back to the correct display type.
  • Loading branch information
jeresig committed Jul 28, 2006
1 parent 5d0b503 commit 44e4c188dd308591837248077e209cab91f10f51
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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";

0 comments on commit 44e4c18

Please sign in to comment.