mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 09:22:47 +08:00
FIX: Don't cache-bust onebox requests
This commit is contained in:
parent
694ee30e86
commit
3681674ec4
|
@ -51,7 +51,8 @@ Discourse.Onebox = {
|
||||||
// Retrieve the onebox
|
// Retrieve the onebox
|
||||||
var promise = Discourse.ajax("/onebox", {
|
var promise = Discourse.ajax("/onebox", {
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
data: { url: url, refresh: refresh }
|
data: { url: url, refresh: refresh },
|
||||||
|
cache: true
|
||||||
});
|
});
|
||||||
|
|
||||||
// We can call this when loading is complete
|
// We can call this when loading is complete
|
||||||
|
|
Loading…
Reference in New Issue
Block a user