git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4418b
)
IE doesn't seem to like caching fragments that have options in them. Ticket #4883.
author
John Resig
<jeresig@gmail.com>
Sat, 11 Jul 2009 15:23:18 +0000
(15:23 +0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 11 Jul 2009 15:23:18 +0000
(15:23 +0000)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
b026672
..
233cb82
100644
(file)
--- 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 ) {