diff options
-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); })(); |