Update timeline-post.tag

This commit is contained in:
syuilo⭐️ 2017-02-22 20:32:03 +09:00
parent a44b5084e4
commit d99056304a

View File

@ -335,12 +335,11 @@
this.repost = () => { this.repost = () => {
const text = window.prompt(`「${this.summary}」をRepost`); const text = window.prompt(`「${this.summary}」をRepost`);
if (text) { if (text == null) return;
this.api('posts/create', { this.api('posts/create', {
repost_id: this.p.id, repost_id: this.p.id,
text: text == '' ? undefined : text text: text == '' ? undefined : text
}); });
}
}; };
this.like = () => { this.like = () => {