summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-25 14:57:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-25 14:57:17 +0900
commitdd9ff6762801cfd8b0287d947f965bdc94f33ff6 (patch)
tree821e53a265204985861cf7158e7d11b00933749d /src/web
parentImprove readaility (diff)
downloadsharkey-dd9ff6762801cfd8b0287d947f965bdc94f33ff6.tar.gz
sharkey-dd9ff6762801cfd8b0287d947f965bdc94f33ff6.tar.bz2
sharkey-dd9ff6762801cfd8b0287d947f965bdc94f33ff6.zip
[Client] Fix bug
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/post-detail-sub.tag5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/web/app/desktop/tags/post-detail-sub.tag b/src/web/app/desktop/tags/post-detail-sub.tag
index 3093d461f0..2de123d1ac 100644
--- a/src/web/app/desktop/tags/post-detail-sub.tag
+++ b/src/web/app/desktop/tags/post-detail-sub.tag
@@ -9,7 +9,7 @@
<span class="username">@{ post.user.username }</span>
</div>
<div class="right">
- <a class="time" href={ url }>
+ <a class="time" href={ '/' + this.post.user.username + '/' + this.post.id }>
<mk-time time={ post.created_at }></mk-time>
</a>
</div>
@@ -120,9 +120,6 @@
this.mixin('user-preview');
this.post = this.opts.post;
-
- this.url = CONFIG.url + '/' + this.post.user.username + '/' + this.post.id;
-
this.title = this.dateStringify(this.post.created_at);
this.on('mount', () => {