git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0b503
)
Fixed issue with hide() notn reverting back to the correct display type.
author
John Resig
<jeresig@gmail.com>
Fri, 28 Jul 2006 04:54:50 +0000
(
04:54
+0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 28 Jul 2006 04:54:50 +0000
(
04:54
+0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
a2a5218
..
606bd5c
100644
(file)
--- a/
jquery/jquery.js
+++ b/
jquery/jquery.js
@@
-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";