diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-27 04:39:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-27 04:39:46 +0900 |
| commit | 692bd515e345a750caa285830aa4f78e2dce51f6 (patch) | |
| tree | 3b4d23d2ffbee685ec886770a05d14690ac776d3 /src/web/app/mobile | |
| parent | Merge pull request #341 from syuilo/greenkeeper/riot-3.4.0 (diff) | |
| download | misskey-692bd515e345a750caa285830aa4f78e2dce51f6.tar.gz misskey-692bd515e345a750caa285830aa4f78e2dce51f6.tar.bz2 misskey-692bd515e345a750caa285830aa4f78e2dce51f6.zip | |
Clean up
Diffstat (limited to 'src/web/app/mobile')
| -rw-r--r-- | src/web/app/mobile/tags/drive.tag | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/web/app/mobile/tags/drive.tag b/src/web/app/mobile/tags/drive.tag index 264f1c2219..800cb9d7e6 100644 --- a/src/web/app/mobile/tags/drive.tag +++ b/src/web/app/mobile/tags/drive.tag @@ -198,13 +198,9 @@ this.stream.on('drive_folder_created', this.onStreamDriveFolderCreated); this.stream.on('drive_folder_updated', this.onStreamDriveFolderUpdated); - // Riotのバグでnullを渡しても""になる - // https://github.com/riot/riot/issues/2080 - //if (this.opts.folder) - //if (this.opts.file) - if (this.opts.folder && this.opts.folder != '') { + if (this.opts.folder) { this.cd(this.opts.folder, true); - } else if (this.opts.file && this.opts.file != '') { + } else if (this.opts.file) { this.cf(this.opts.file, true); } else { this.fetch(); |