From de8fa0507934e053c7bc6efbc455627246979056 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Sat, 21 Oct 2017 13:41:05 +0200 Subject: Potential fix for #2 --- assets/javascripts/iframe_whitelist.js | 1 + 1 file changed, 1 insertion(+) (limited to 'assets') 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); })(); -- cgit v1.2.3