mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
fix: make sure umap.properties.slideshow is defined
This commit is contained in:
parent
54a3aae912
commit
360ca100ba
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ export default class Slideshow extends WithTemplate {
|
|||
this._umap = umap
|
||||
this._id = null
|
||||
this.CLASSNAME = 'umap-slideshow-active'
|
||||
this._umap.properties.slideshow ??= {}
|
||||
this.load()
|
||||
this._current = null
|
||||
|
||||
|
|
Loading…
Reference in a new issue