summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-22 16:03:34 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-22 16:03:34 +0900
commita92985122ecd66ba7c4f5008258ed15e47fe3ee3 (patch)
treed6da5b6b615dee789ce259b88fa121166f0c2d9c /src
parent[Client] Fix design (diff)
downloadmisskey-a92985122ecd66ba7c4f5008258ed15e47fe3ee3.tar.gz
misskey-a92985122ecd66ba7c4f5008258ed15e47fe3ee3.tar.bz2
misskey-a92985122ecd66ba7c4f5008258ed15e47fe3ee3.zip
[Client] Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/timeline-post.tag2
-rw-r--r--src/web/app/mobile/tags/timeline-post.tag2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag
index 440d5d9f42..cbd13aa59a 100644
--- a/src/web/app/desktop/tags/timeline-post.tag
+++ b/src/web/app/desktop/tags/timeline-post.tag
@@ -329,7 +329,7 @@
this.title = this.dateStringify(this.p.created_at);
- this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id;
+ this.url = `/${this.p.user.username}/${this.p.id}`;
this.isDetailOpened = false;
this.on('mount', () => {
diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag
index 8662eadb8c..ec3a42243f 100644
--- a/src/web/app/mobile/tags/timeline-post.tag
+++ b/src/web/app/mobile/tags/timeline-post.tag
@@ -304,7 +304,7 @@
this.isRepost = this.post.repost != null && this.post.text == null;
this.p = this.isRepost ? this.post.repost : this.post;
this.summary = this.getPostSummary(this.p);
- this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id
+ this.url = `/${this.p.user.username}/${this.p.id}`;
this.on('mount', () => {
if (this.p.text) {