Skip to main content

Bug Tracker

Side navigation

Ticket #5847: patch.js
File patch.js, 0.2 KB (added by Cédric, January 18, 2010 11:27AM UTC)
var attr = !jQuery.support.hrefNormalized && notxml && special
	? elem.getAttribute( name, 2 )
-        : elem.getAttribute( name );
+        : elem.getAttribute( name ) ? elem.getAttribute( name ) : elem[name];

Download in other formats:

Original Format