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
fb0dfd98
Commit
fb0dfd98
authored
Feb 10, 2007
by
Brandon Aaron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
81f138d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
jquery.js
src/jquery/jquery.js
+2
-3
No files found.
src/jquery/jquery.js
View file @
fb0dfd98
...
@@ -1495,8 +1495,6 @@ jQuery.extend({
...
@@ -1495,8 +1495,6 @@ jQuery.extend({
selected
:
"selected"
selected
:
"selected"
};
};
var
fixIE
=
jQuery
.
isXMLDoc
(
elem
)
?
[]
:
"href,src,background,cite,classid,codebase,data,longdesc,profile,usemap"
.
split
(
','
);
// IE actually uses filters for opacity ... elem is actually elem.style
// IE actually uses filters for opacity ... elem is actually elem.style
if
(
name
==
"opacity"
&&
jQuery
.
browser
.
msie
&&
value
!=
undefined
)
{
if
(
name
==
"opacity"
&&
jQuery
.
browser
.
msie
&&
value
!=
undefined
)
{
// IE has trouble with opacity if it does not have layout
// IE has trouble with opacity if it does not have layout
...
@@ -1527,7 +1525,8 @@ jQuery.extend({
...
@@ -1527,7 +1525,8 @@ jQuery.extend({
// IE elem.getAttribute passes even for style
// IE elem.getAttribute passes even for style
else
if
(
elem
.
tagName
)
{
else
if
(
elem
.
tagName
)
{
if
(
value
!=
undefined
)
elem
.
setAttribute
(
name
,
value
);
if
(
value
!=
undefined
)
elem
.
setAttribute
(
name
,
value
);
if
(
jQuery
.
browser
.
msie
&&
fixIE
[
name
]
)
return
elem
.
getAttribute
(
name
,
2
);
if
(
jQuery
.
browser
.
msie
&&
!
jQuery
.
isXMLDoc
(
elem
)
&&
/^
(
href|src|background|cite|classid|codebase|data|longdesc|profile|usemap
)
$/
.
test
(
name
)
)
return
elem
.
getAttribute
(
name
,
2
);
return
elem
.
getAttribute
(
name
);
return
elem
.
getAttribute
(
name
);
// elem is actually elem.style ... set the style
// elem is actually elem.style ... set the style
...
...
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