diff options
author | John Resig <jeresig@gmail.com> | 2009-07-11 15:23:18 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-07-11 15:23:18 +0000 |
commit | 5b84c7c45c8c3c5e7c9a17239cd658b0c87ab892 (patch) | |
tree | ba7da28544baef57f09d855980a6d802207ce624 /src/manipulation.js | |
parent | 0c4418bbc4022ed5cb746af364ff1c0d7c331209 (diff) | |
download | jquery-5b84c7c45c8c3c5e7c9a17239cd658b0c87ab892.tar.gz jquery-5b84c7c45c8c3c5e7c9a17239cd658b0c87ab892.zip |
IE doesn't seem to like caching fragments that have options in them. Ticket #4883.
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 b026672df..233cb8263 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 ) { |