diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 14:24:23 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 14:24:23 +0900 |
| commit | 7eeb9c4962e4f1a46342777af8521cf27341f062 (patch) | |
| tree | 477f3b818ec20844c613e3ed3b9c50fd4df95ad5 /src/web | |
| parent | #302 (diff) | |
| download | misskey-7eeb9c4962e4f1a46342777af8521cf27341f062.tar.gz misskey-7eeb9c4962e4f1a46342777af8521cf27341f062.tar.bz2 misskey-7eeb9c4962e4f1a46342777af8521cf27341f062.zip | |
[Client] Fix bugs
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/post-detail-sub.tag | 7 | ||||
| -rw-r--r-- | src/web/app/desktop/tags/search-posts.tag | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/web/app/desktop/tags/post-detail-sub.tag b/src/web/app/desktop/tags/post-detail-sub.tag index a0473eb709..f43e85254f 100644 --- a/src/web/app/desktop/tags/post-detail-sub.tag +++ b/src/web/app/desktop/tags/post-detail-sub.tag @@ -114,15 +114,14 @@ </style> <script> - this.mixin('api'); - import compile from '../../common/scripts/text-compiler'; + import dateStringify from '../../common/scripts/date-stringify'; - this.dateStringify = require('../../common/scripts/date-stringify'); + this.mixin('api'); this.mixin('user-preview'); this.post = this.opts.post; - this.title = this.dateStringify(this.post.created_at); + this.title = dateStringify(this.post.created_at); this.on('mount', () => { if (this.post.text) { diff --git a/src/web/app/desktop/tags/search-posts.tag b/src/web/app/desktop/tags/search-posts.tag index 95ee33a5a4..76365fb29e 100644 --- a/src/web/app/desktop/tags/search-posts.tag +++ b/src/web/app/desktop/tags/search-posts.tag @@ -29,7 +29,6 @@ </style> <script> this.mixin('api'); - this.mixin('get-post-summary'); this.query = this.opts.query; this.isLoading = true; |