diff options
author | timmywil <timmywillisn@gmail.com> | 2011-11-08 00:05:33 -0500 |
---|---|---|
committer | timmywil <timmywillisn@gmail.com> | 2011-11-08 00:05:33 -0500 |
commit | 41b31d7386cf00e714d703db773ffa73b6bd8b24 (patch) | |
tree | 8a350912c39800ea7d4f2ca63a28bf542ccab8fa /src/manipulation.js | |
parent | f8eba6ee2530e540cb30512bb724ac6bfe6c8142 (diff) | |
parent | 92c840401271ba42543845a836f17c63aa28ef34 (diff) | |
download | jquery-41b31d7386cf00e714d703db773ffa73b6bd8b24.tar.gz jquery-41b31d7386cf00e714d703db773ffa73b6bd8b24.zip |
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682
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 70487c139..00f417226 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -483,7 +483,7 @@ jQuery.buildFragment = function( args, nodes, scripts ) { if ( args.length === 1 && typeof first === "string" && first.length < 512 && doc === document && first.charAt(0) === "<" && !rnocache.test( first ) && (jQuery.support.checkClone || !rchecked.test( first )) && - (!jQuery.support.unknownElems && rnoshimcache.test( first )) ) { + (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) { cacheable = true; |