mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Disable getting values using the .attr() function shortcut until the full implications of which can be explored.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user