diff options
author | jeresig <jeresig@gmail.com> | 2010-02-13 03:30:45 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-02-13 03:30:45 -0500 |
commit | c1ac9fdf45632f0e0d1f7183500ce45dde7319d7 (patch) | |
tree | 31a789cc19d10a53fafef90b162ead0ac45a7a89 /src/manipulation.js | |
parent | 14e1200d59345e8ece8d6edfcf75af2e90ae8b72 (diff) | |
download | jquery-c1ac9fdf45632f0e0d1f7183500ce45dde7319d7.tar.gz jquery-c1ac9fdf45632f0e0d1f7183500ce45dde7319d7.zip |
Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index a10feae93..a58e52b6a 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -5,7 +5,7 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rtagName = /<([\w:]+)/, rtbody = /<tbody/i, rhtml = /<|&#?\w+;/, - rnocache = /<script|<object|<embed|<option/i, + rnocache = /<script|<object|<embed|<option|<style/i, rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, // checked="checked" or checked (html5) fcloseTag = function( all, front, tag ) { return rselfClosing.test( tag ) ? |