This commit is contained in:
j 2021-11-22 22:58:35 +01:00
parent 560a409978
commit 25a62c0f78
2 changed files with 4 additions and 3 deletions

View file

@ -215,8 +215,8 @@ function renderAnnotation(config, video, ascroll, annotation) {
var div = document.createElement('div')
div.classList.add('annotation')
var color1 = `hsl(${annotation.color1.hue}, 70%, 75%)`
var color2 = `hsl(${annotation.color2.hue}, 70%, 75%)`
var color1 = `hsl(${annotation.color1.hue}, 60%, 15%)`
var color2 = `hsl(${annotation.color2.hue}, 60%, 15%)`
if (!config.first) {
config.first = annotation
config.info.style.background = color1

View file

@ -78,9 +78,10 @@
</div>
<script>
document.location.href = '/'
path = document.location.pathname.slice(1)
if (path) {
document.querySelector('h1').innerHTML = 'Phantas.ma/' + path
document.querySelector('h1').innerHTML = 'njp.ma/' + path
if (path == 'polis') {
setTimeout(() => {
document.querySelector('h2').innerHTML = 'Oct 30, 2021 Mar 6, 2022'