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

Commit 0e1c780

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dist/js/medium-editor-insert-plugin.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,11 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handl
782782
Embeds.prototype.oembed = function (url) {
783783
var that = this;
784784

785+
$.support.cors = true;
786+
785787
$.ajax({
788+
crossDomain: true,
789+
cache: false,
786790
url: this.options.oembedProxy,
787791
dataType: 'json',
788792
data: {

0 commit comments

Comments
 (0)