IE doesn't seem to like caching fragments that have options in them. Ticket #4883.
This commit is contained in:
parent
0c4418bbc4
commit
5b84c7c45c
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ jQuery.fn.extend({
|
|||
var fragment, scripts, cacheable, cached, cacheresults, first;
|
||||
|
||||
if ( this[0] ) {
|
||||
if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 ) {
|
||||
if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && args[0].indexOf("<option") < 0 ) {
|
||||
cacheable = true;
|
||||
cacheresults = jQuery.fragments[ args[0] ];
|
||||
if ( cacheresults ) {
|
||||
|
|
Loading…
Reference in a new issue