move long text out of intro, fix resize, fix position

This commit is contained in:
j 2022-09-26 13:00:31 +01:00
commit f9b30f1fd8
4 changed files with 25 additions and 8 deletions

View file

@ -89,7 +89,6 @@ class PandoraScroll extends HTMLElement {
config.root = this.shadowRoot.querySelector('.pandora-scroll')
config.video = document.querySelector('video')
loadAnnotations(config).then(config => {
config.loaded = true
if (config.mode == "single") {
renderSingleMode(config)
} else {
@ -98,6 +97,7 @@ class PandoraScroll extends HTMLElement {
renderAnnotation(window.config, config.video, config.root, annotation)
})
}
config.loaded = true
})
}