Bugfix: Don't add embedding window to error pages.
This commit is contained in:
parent
0ae3a3e8d6
commit
67bf57d804
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user