Commit b4b30cc6 authored by jeresig's avatar jeresig

Disable getting values using the .attr() function shortcut until the full...

Disable getting values using the .attr() function shortcut until the full implications of which can be explored.
parent 5b51cc92
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment