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
f4c67b7c
Commit
f4c67b7c
authored
Jul 16, 2006
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some .css() fixes.
parent
57403c1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
jquery.js
jquery/jquery.js
+6
-2
No files found.
jquery/jquery.js
View file @
f4c67b7c
...
@@ -308,7 +308,7 @@ jQuery.fn = jQuery.prototype = {
...
@@ -308,7 +308,7 @@ jQuery.fn = jQuery.prototype = {
* @param Object value The value to set the property to.
* @param Object value The value to set the property to.
*/
*/
css
:
function
(
key
,
value
)
{
css
:
function
(
key
,
value
)
{
return
this
.
attr
(
key
,
value
,
"c
ss
"
);
return
this
.
attr
(
key
,
value
,
"c
urCSS
"
);
},
},
/**
/**
...
@@ -1178,6 +1178,10 @@ jQuery.extend({
...
@@ -1178,6 +1178,10 @@ jQuery.extend({
return
p
==
"height"
?
oHeight
:
oWidth
;
return
p
==
"height"
?
oHeight
:
oWidth
;
}
}
return
jQuery
.
curCSS
(
e
,
p
);
},
curCSS
:
function
(
e
,
p
)
{
var
r
;
var
r
;
if
(
e
.
style
[
p
])
if
(
e
.
style
[
p
])
...
...
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