git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable getting values using the .attr() function shortcut until the full implication...
[jquery.git]
/
src
/
attributes.js
diff --git
a/src/attributes.js
b/src/attributes.js
index
0a60b0d
..
0b6d21e
100644
(file)
--- a/
src/attributes.js
+++ b/
src/attributes.js
@@
-221,7
+221,7
@@
jQuery.extend({
return undefined;
}
- if ( name in jQuery.attrFn ) {
+ if ( name in jQuery.attrFn && value !== undefined ) {
return jQuery(elem)[name](value);
}