FIX: Don't cache-bust onebox requests

This commit is contained in:
riking 2015-04-21 23:11:25 -07:00
parent 694ee30e86
commit 3681674ec4
1 changed files with 2 additions and 1 deletions

View File

@ -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