diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-16 10:17:50 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-16 10:17:50 -0400 |
commit | a5cf257a8a240f96f1ec255599fa1d1190f51ff5 (patch) | |
tree | 9658f1fb88300f37f0bb1702daa0ebbbf7be0645 /src | |
parent | 6171e0a923c4775d0b5e560900f397c33b6341d9 (diff) | |
download | jquery-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.js | 2 |
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({ |