mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user