mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 05:06:44 -06:00
Fix glitch
This commit is contained in:
parent
3dbdd3e048
commit
f7408f4e82
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<mk-slideshow-home-widget>
|
<mk-slideshow-home-widget>
|
||||||
<div onclick={ choose }>
|
<div onclick={ choose }>
|
||||||
<p if={ folder === undefined }>クリックしてフォルダを指定してください</p>
|
<p if={ folder === undefined }>クリックしてフォルダを指定してください</p>
|
||||||
<p if={ folder !== undefined && images.length == 0 }>このフォルダには画像がありません</p>
|
<p if={ folder !== undefined && images.length == 0 && !fetching }>このフォルダには画像がありません</p>
|
||||||
<div ref="slideA" class="slide a"></div>
|
<div ref="slideA" class="slide a"></div>
|
||||||
<div ref="slideB" class="slide b"></div>
|
<div ref="slideB" class="slide b"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
this.size = this.opts.data.hasOwnProperty('size') ? this.opts.data.size : 0;
|
this.size = this.opts.data.hasOwnProperty('size') ? this.opts.data.size : 0;
|
||||||
this.folder = this.opts.data.hasOwnProperty('folder') ? this.opts.data.folder : undefined;
|
this.folder = this.opts.data.hasOwnProperty('folder') ? this.opts.data.folder : undefined;
|
||||||
this.images = [];
|
this.images = [];
|
||||||
this.fetching = false;
|
this.fetching = true;
|
||||||
|
|
||||||
this.on('mount', () => {
|
this.on('mount', () => {
|
||||||
this.applySize();
|
this.applySize();
|
||||||
|
|
Loading…
Reference in a new issue