mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed issue with hide() notn reverting back to the correct display type.
This commit is contained in:
parent
5d0b503c6d
commit
44e4c188dd
2
jquery/jquery.js
vendored
2
jquery/jquery.js
vendored
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user