diff --git a/app/static/css/partials/_ascroll.scss b/app/static/css/partials/_ascroll.scss index 12b2ccb..1b30add 100755 --- a/app/static/css/partials/_ascroll.scss +++ b/app/static/css/partials/_ascroll.scss @@ -7,7 +7,11 @@ #ascroll { font-family: "noto_sans"; width: 100%; - color: #222; + color: #ddd; + a { + color: var(--color-link); + text-decoration: none; + } h1 { padding-left: var(--spacing-2); diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index c4c9e91..d5c002d 100755 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -224,14 +224,8 @@ function renderAnnotation(config, video, ascroll, annotation) { div.style.background = `linear-gradient(to bottom, ${color1}, ${color2})`; var figcaption = '' if (annotation.title) { - if (config.language == 'zh') { - var title = annotation.title.split('/')[1] || annotation.title - var director = annotation.director[1] - } else { - var title = annotation.title.split('/')[0] - var director = annotation.director[0] - } - var txt = `${title} (${director})` + var title = annotation.title + var txt = `${title}` figcaption = `
${txt}
` } annotation.value = annotation.value.replace(/src="\//g, `src="${pandoraURL}/`).replace(/href="\//g, `href="${pandoraURL}/`)