mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Disable getting values using the .attr() function shortcut until the full implications of which can be explored.
This commit is contained in:
parent
5b51cc92fc
commit
b4b30cc683
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user