mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
FIX: Don't cache-bust onebox requests
This commit is contained in:
parent
694ee30e86
commit
3681674ec4
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ Discourse.Onebox = {
|
|||
// Retrieve the onebox
|
||||
var promise = Discourse.ajax("/onebox", {
|
||||
dataType: 'html',
|
||||
data: { url: url, refresh: refresh }
|
||||
data: { url: url, refresh: refresh },
|
||||
cache: true
|
||||
});
|
||||
|
||||
// We can call this when loading is complete
|
||||
|
|
Loading…
Add table
Reference in a new issue