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
ebb8e8e3
Commit
ebb8e8e3
authored
Mar 11, 2011
by
timmywil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix feature test, accidentally got rid of closure end
parent
00abeaee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
attributes.js
src/attributes.js
+6
-5
support.js
src/support.js
+1
-1
No files found.
src/attributes.js
View file @
ebb8e8e3
...
@@ -475,9 +475,8 @@ if ( !jQuery.support.optSelected ) {
...
@@ -475,9 +475,8 @@ if ( !jQuery.support.optSelected ) {
}
}
// IE6/7 do not support getting/setting some attributes with get/setAttribute
// IE6/7 do not support getting/setting some attributes with get/setAttribute
if
(
jQuery
.
support
.
attrFix
)
{
if
(
jQuery
.
support
.
attrFix
)
{
jQuery
.
extend
(
jQuery
.
attrFix
,
{
jQuery
.
extend
(
jQuery
.
attrFix
,
{
"for"
:
"htmlFor"
,
"for"
:
"htmlFor"
,
"class"
:
"className"
,
"class"
:
"className"
,
readonly
:
"readOnly"
,
readonly
:
"readOnly"
,
...
@@ -490,3 +489,5 @@ if ( jQuery.support.attrFix ) {
...
@@ -490,3 +489,5 @@ if ( jQuery.support.attrFix ) {
frameborder
:
"frameBorder"
frameborder
:
"frameBorder"
});
});
}
}
})(
jQuery
);
\ No newline at end of file
src/support.js
View file @
ebb8e8e3
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
optSelected
:
opt
.
selected
,
optSelected
:
opt
.
selected
,
attrFix
:
div
.
getAttribute
(
"className"
)
===
"t"
,
attrFix
:
div
.
className
===
"t"
,
// Will be defined later
// Will be defined later
deleteExpando
:
true
,
deleteExpando
:
true
,
...
...
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