diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-04 18:14:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-04 18:14:13 +0900 |
| commit | f152e3a2d5e553aa55d0672d6ae6fa3dbdbf8258 (patch) | |
| tree | 0d31b22c54d5925d9fdf02ad6ee48763631c8b69 /src/web/app | |
| parent | v3959 (diff) | |
| download | sharkey-f152e3a2d5e553aa55d0672d6ae6fa3dbdbf8258.tar.gz sharkey-f152e3a2d5e553aa55d0672d6ae6fa3dbdbf8258.tar.bz2 sharkey-f152e3a2d5e553aa55d0672d6ae6fa3dbdbf8258.zip | |
Fix bug
Diffstat (limited to 'src/web/app')
| -rw-r--r-- | src/web/app/common/views/widgets/slideshow.vue | 3 |
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, |