aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-05-16 10:17:50 -0400
committertimmywil <tim.willison@thisismedium.com>2011-05-16 10:17:50 -0400
commita5cf257a8a240f96f1ec255599fa1d1190f51ff5 (patch)
tree9658f1fb88300f37f0bb1702daa0ebbbf7be0645 /src
parent6171e0a923c4775d0b5e560900f397c33b6341d9 (diff)
downloadjquery-a5cf257a8a240f96f1ec255599fa1d1190f51ff5.tar.gz
jquery-a5cf257a8a240f96f1ec255599fa1d1190f51ff5.zip
Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function wrapper. Fixes #9298.
Diffstat (limited to 'src')
-rw-r--r--src/attributes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js
index 0eac08a6f..a4cf76959 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -7,7 +7,7 @@ var rclass = /[\n\t\r]/g,
rfocusable = /^(?:button|input|object|select|textarea)$/i,
rclickable = /^a(?:rea)?$/i,
rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
- rinvalidChar = /\:/,
+ rinvalidChar = /\:|^on/,
formHook, boolHook;
jQuery.fn.extend({