diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index 40d7f2f7d..6fe79aeb0 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -65,6 +65,7 @@ Embedding = $.on d, 'PostsInserted', autoEmbed ready: -> + return if !Main.isThisPageLegit() $.addClass Embedding.dialog, 'empty' $.on $('.close', Embedding.dialog), 'click', Embedding.closeFloat $.on $('.move', Embedding.dialog), 'mousedown', Embedding.dragEmbed