keep subtitle until next layer shows up

This commit is contained in:
j 2023-12-09 13:12:08 +00:00
commit 030f7087f4
2 changed files with 15 additions and 1 deletions

View file

@ -108,6 +108,7 @@ pandoraAPI("init").then(response => {
if (subtitleLayer) {
layerKeys.push(subtitleLayer.id)
}
pandora.subtitleLayer = subtitleLayer.id
pandora.site.layers.map(layer => {
return layer.id
}).filter(layer => {