diff --git a/isso/js/embed.js b/isso/js/embed.js index e593f96..ced5335 100644 --- a/isso/js/embed.js +++ b/isso/js/embed.js @@ -46,6 +46,11 @@ require(["app/lib/ready", "app/config", "app/i18n", "app/api", "app/isso", "app/ } function fetchComments() { + + if ($('#isso-root').length == 0) { + return; + } + $('#isso-root').textContent = ''; api.fetch(isso_thread.getAttribute("data-isso-id") || location.pathname, config["max-comments-top"],