mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 19:13:08 +02:00
wip
This commit is contained in:
parent
b0c1ec3124
commit
4c43573c1e
1 changed files with 6 additions and 6 deletions
|
@ -318,14 +318,14 @@
|
|||
this.mixin('user-preview');
|
||||
this.mixin('NotImplementedException');
|
||||
|
||||
this.post = this.opts.post
|
||||
this.is-repost = this.post.repost? and !this.post.text?
|
||||
this.p = if @is-repost then this.post.repost else this.post
|
||||
this.post = this.opts.post;
|
||||
this.isRepost = this.post.repost != null && this.post.text == null;
|
||||
this.p = this.isRepost ? this.post.repost : this.post;
|
||||
|
||||
this.title = @date-stringify this.p.created_at
|
||||
this.title = this.dateStringify(this.p.created_at);
|
||||
|
||||
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id
|
||||
this.is-detail-opened = false
|
||||
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id;
|
||||
this.isDetailOpened = false;
|
||||
|
||||
this.on('mount', () => {
|
||||
if this.p.text?
|
||||
|
|
Loading…
Reference in a new issue