diff --git a/src/.vuepress/theme/components/blog/Comments.vue b/src/.vuepress/theme/components/blog/Comments.vue index 55d36a504..483de8399 100644 --- a/src/.vuepress/theme/components/blog/Comments.vue +++ b/src/.vuepress/theme/components/blog/Comments.vue @@ -41,7 +41,7 @@ export default { d.type = 'text/javascript' d.async = true d.src = window.DiscourseEmbed.discourseUrl + 'javascripts/embed.js' - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d) + ;(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d) }, }