We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a609f commit 075da30Copy full SHA for 075da30
1 file changed
src/attributes/attr.js
@@ -32,7 +32,7 @@ jQuery.extend({
32
}
33
34
// Fallback to prop when attributes are not supported
35
- if ( !elem.getAttribute ) {
+ if ( typeof elem.getAttribute === "undefined" ) {
36
return jQuery.prop( elem, name, value );
37
38
0 commit comments