修復評論不能爲空的 bug

This commit is contained in:
Akira Lin 2020-08-08 12:06:13 +08:00 committed by GitHub
parent 82979322c6
commit 1ac43323fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ script.
'.js-pjax'
]
if (!{theme.Open_Graph_meta && theme.comments.use.includes('Livere')}) {
if (!{theme.Open_Graph_meta && theme.comments.use && theme.comments.use.includes('Livere')}) {
pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}