diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-19 20:50:25 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-19 20:50:25 +0900 |
| commit | 9b6f5302ecbf50376f04ab12700f4bfe73f4e466 (patch) | |
| tree | 446874373731fb616812d9ccd10335ea321b0bc2 | |
| parent | Update drive.tag (diff) | |
| download | sharkey-9b6f5302ecbf50376f04ab12700f4bfe73f4e466.tar.gz sharkey-9b6f5302ecbf50376f04ab12700f4bfe73f4e466.tar.bz2 sharkey-9b6f5302ecbf50376f04ab12700f4bfe73f4e466.zip | |
[Client:Desktop] Fix bug
| -rw-r--r-- | src/web/app/desktop/tags/post-detail.tag | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/web/app/desktop/tags/post-detail.tag b/src/web/app/desktop/tags/post-detail.tag index 34d625204d..0495c5c6ec 100644 --- a/src/web/app/desktop/tags/post-detail.tag +++ b/src/web/app/desktop/tags/post-detail.tag @@ -339,13 +339,11 @@ </style> <script> - this.mixin('api'); - import compile from '../../common/scripts/text-compiler'; + import dateStringify from '../../common/scripts/date-stringify'; + this.mixin('api'); this.mixin('user-preview'); - this.dateStringify = require('../../common/scripts/date-stringify'); - this.mixin('NotImplementedException'); this.fetching = true; this.contextFetching = false; @@ -363,7 +361,7 @@ post: post, isRepost: isRepost, p: p, - title: this.dateStringify(p.created_at) + title: dateStringify(p.created_at) }); this.trigger('loaded'); |