format films cited

This commit is contained in:
j 2021-11-01 10:47:55 +00:00
parent 6764d53403
commit 9241e10fae

View file

@ -304,11 +304,11 @@ function renderAnnotations(config) {
if (config.item_url) {
if (config.language == 'zh') {
div.innerHTML = `
引用影片: <a href="${config.item_url}">${config.item_title_zh} - ${config.item_director[1]}</a>
引用影片: <a href="${config.item_url}">${config.item_title_zh} (${config.item_director[1]})</a>
`
} else {
div.innerHTML = `
Film cited: <a href="${config.item_url}">${config.item_title} - ${config.item_director[0]}</a><br>
Film cited: <a href="${config.item_url}">${config.item_title} (${config.item_director[0]})</a><br>
`
}
} else {