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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue