summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/common/views/widgets/slideshow.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/app/common/views/widgets/slideshow.vue b/src/web/app/common/views/widgets/slideshow.vue
index df6cb900d3..e9451663e2 100644
--- a/src/web/app/common/views/widgets/slideshow.vue
+++ b/src/web/app/common/views/widgets/slideshow.vue
@@ -81,6 +81,9 @@ export default define({
duration: 1000,
easing: 'linear',
complete: () => {
+ // 既にこのウィジェットがunmountされていたら要素がない
+ if ((this.$refs.slideA as any) == null) return;
+
(this.$refs.slideA as any).style.backgroundImage = img;
anime({
targets: this.$refs.slideB,