Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
8d2d94cf
Commit
8d2d94cf
authored
Apr 19, 2011
by
timmywil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test suite fails for hiding text nodes in F4 and IE9. Update for #6135.
parent
825d3d96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
effects.js
src/effects.js
+5
-3
No files found.
src/effects.js
View file @
8d2d94cf
...
@@ -71,12 +71,14 @@ jQuery.fn.extend({
...
@@ -71,12 +71,14 @@ jQuery.fn.extend({
}
else
{
}
else
{
for
(
var
i
=
0
,
j
=
this
.
length
;
i
<
j
;
i
++
)
{
for
(
var
i
=
0
,
j
=
this
.
length
;
i
<
j
;
i
++
)
{
if
(
this
[
i
].
style
)
{
var
display
=
jQuery
.
css
(
this
[
i
],
"display"
);
var
display
=
jQuery
.
css
(
this
[
i
],
"display"
);
if
(
display
!==
"none"
&&
!
jQuery
.
_data
(
this
[
i
],
"olddisplay"
)
)
{
if
(
display
!==
"none"
&&
!
jQuery
.
_data
(
this
[
i
],
"olddisplay"
)
)
{
jQuery
.
_data
(
this
[
i
],
"olddisplay"
,
display
);
jQuery
.
_data
(
this
[
i
],
"olddisplay"
,
display
);
}
}
}
}
}
// Set the display of the elements in a second loop
// Set the display of the elements in a second loop
// to avoid the constant reflow
// to avoid the constant reflow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment