Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 83f7e63

Browse files
committed
re #138: oembed: enable crossdomain AJAX for IE
1 parent 0e1c780 commit 83f7e63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/embeds.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@
213213
Embeds.prototype.oembed = function (url) {
214214
var that = this;
215215

216+
$.support.cors = true;
217+
216218
$.ajax({
219+
crossDomain: true,
220+
cache: false,
217221
url: this.options.oembedProxy,
218222
dataType: 'json',
219223
data: {

0 commit comments

Comments
 (0)