diff options
author | Marcin Rataj <lidel@lidel.org> | 2017-10-21 13:41:05 +0200 |
---|---|---|
committer | Marcin Rataj <lidel@lidel.org> | 2017-10-21 13:41:05 +0200 |
commit | de8fa0507934e053c7bc6efbc455627246979056 (patch) | |
tree | bdbdb79010e350804082dc122dee3a51f529eafb /assets | |
parent | ca8318bce8ae84264abd8361e05d1914d3325106 (diff) | |
download | discourse-umap-de8fa0507934e053c7bc6efbc455627246979056.tar.gz |
Potential fix for #2
Diffstat (limited to 'assets')
-rw-r--r-- | assets/javascripts/iframe_whitelist.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/javascripts/iframe_whitelist.js b/assets/javascripts/iframe_whitelist.js index 1ed5e80..a7aa880 100644 --- a/assets/javascripts/iframe_whitelist.js +++ b/assets/javascripts/iframe_whitelist.js @@ -1,3 +1,4 @@ (function() { + if (Discourse.dialect_deprecated) { return; } Discourse.Markdown.whiteListIframe(/^(https?:)?\/\/www\.openstreetmap\.org\/export\/embed.html\?.+/i); })(); |