aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-03-13 16:29:33 -0400
committertimmywil <tim.willison@thisismedium.com>2011-04-03 19:13:39 -0400
commitf578e0f99748ec5ae84d750f0922957e5fea25cb (patch)
tree02429056d45cccd9f699e31a338d4ced98ea15de /src/attributes.js
parent77c559c3cbe361a87de735a67812695685b613e6 (diff)
downloadjquery-f578e0f99748ec5ae84d750f0922957e5fea25cb.tar.gz
jquery-f578e0f99748ec5ae84d750f0922957e5fea25cb.zip
Don't use extend when setting the action attrHook for IE6/7
Diffstat (limited to 'src/attributes.js')
-rw-r--r--src/attributes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attributes.js b/src/attributes.js
index 0a39cba8d..37a6c1e59 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -401,7 +401,7 @@ if ( !jQuery.support.getSetAttribute ) {
});
// Action attribute in ie6/7 returns form objects
- jQuery.attrHooks.action = jQuery.extend( jQuery.attrHooks.action, {
+ jQuery.attrHooks.action = {
get: function( elem ) {
return elem.nodeName === "FORM" ? elem.getAttributeNode("action").nodeValue : elem.getAttribute("action");
},
@@ -409,7 +409,7 @@ if ( !jQuery.support.getSetAttribute ) {
elem.nodeName === "FORM" ? elem.getAttributeNode("action").nodeValue = value : elem.setAttribute("action", value);
return value;
}
- });
+ };
}
// Remove certain attrs if set to false