Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977.
This commit is contained in:
parent
14e1200d59
commit
c1ac9fdf45
2 changed files with 7 additions and 2 deletions
|
@ -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 ) ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue