Calling .hide().show() on a stylesheet-hidden element wasn't bringing it back. Fixes #7331.
This commit is contained in:
parent
6ab402dced
commit
6e7a4e73a2
2 changed files with 10 additions and 2 deletions
2
src/effects.js
vendored
2
src/effects.js
vendored
|
@ -28,7 +28,7 @@ jQuery.fn.extend({
|
|||
// Reset the inline display of this element to learn if it is
|
||||
// being hidden by cascaded rules or not
|
||||
if ( !jQuery.data(elem, "olddisplay") && display === "none" ) {
|
||||
elem.style.display = "";
|
||||
display = elem.style.display = "";
|
||||
}
|
||||
|
||||
// Set elements which have been overridden with display: none
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue