summaryrefslogtreecommitdiff
path: root/src/web/app/ch
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-07 15:16:01 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-07 15:16:01 +0900
commit0c2b79acedc08fa0702b52d612aa0b92f67f1573 (patch)
treedafad9c0329cd23945053c3f7167cb8613a49fe3 /src/web/app/ch
parentwip (diff)
downloadmisskey-0c2b79acedc08fa0702b52d612aa0b92f67f1573.tar.gz
misskey-0c2b79acedc08fa0702b52d612aa0b92f67f1573.tar.bz2
misskey-0c2b79acedc08fa0702b52d612aa0b92f67f1573.zip
wip
Diffstat (limited to 'src/web/app/ch')
-rw-r--r--src/web/app/ch/tags/channel.tag14
-rw-r--r--src/web/app/ch/tags/index.tag2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/web/app/ch/tags/channel.tag b/src/web/app/ch/tags/channel.tag
index cc8ce1ed9e..7e76778f9a 100644
--- a/src/web/app/ch/tags/channel.tag
+++ b/src/web/app/ch/tags/channel.tag
@@ -5,8 +5,8 @@
<h1>{ channel.title }</h1>
<div if={ SIGNIN }>
- <p if={ channel.is_watching }>このチャンネルをウォッチしています <a onclick={ unwatch }>ウォッチ解除</a></p>
- <p if={ !channel.is_watching }><a onclick={ watch }>このチャンネルをウォッチする</a></p>
+ <p if={ channel.is_watching }>このチャンネルをウォッチしています <a @click="unwatch">ウォッチ解除</a></p>
+ <p if={ !channel.is_watching }><a @click="watch">このチャンネルをウォッチする</a></p>
</div>
<div class="share">
@@ -164,7 +164,7 @@
<mk-channel-post>
<header>
- <a class="index" onclick={ reply }>{ post.index }:</a>
+ <a class="index" @click="reply">{ post.index }:</a>
<a class="name" href={ _URL_ + '/' + post.user.username }><b>{ post.user.name }</b></a>
<mk-time time={ post.created_at }/>
<mk-time time={ post.created_at } mode="detail"/>
@@ -241,12 +241,12 @@
</mk-channel-post>
<mk-channel-form>
- <p if={ reply }><b>&gt;&gt;{ reply.index }</b> ({ reply.user.name }): <a onclick={ clearReply }>[x]</a></p>
+ <p if={ reply }><b>&gt;&gt;{ reply.index }</b> ({ reply.user.name }): <a @click="clearReply">[x]</a></p>
<textarea ref="text" disabled={ wait } oninput={ update } onkeydown={ onkeydown } onpaste={ onpaste } placeholder="%i18n:ch.tags.mk-channel-form.textarea%"></textarea>
<div class="actions">
- <button onclick={ selectFile }>%fa:upload%%i18n:ch.tags.mk-channel-form.upload%</button>
- <button onclick={ drive }>%fa:cloud%%i18n:ch.tags.mk-channel-form.drive%</button>
- <button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0) } onclick={ post }>
+ <button @click="selectFile">%fa:upload%%i18n:ch.tags.mk-channel-form.upload%</button>
+ <button @click="drive">%fa:cloud%%i18n:ch.tags.mk-channel-form.drive%</button>
+ <button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0) } @click="post">
<virtual if={ !wait }>%fa:paper-plane%</virtual>{ wait ? '%i18n:ch.tags.mk-channel-form.posting%' : '%i18n:ch.tags.mk-channel-form.post%' }<mk-ellipsis if={ wait }/>
</button>
</div>
diff --git a/src/web/app/ch/tags/index.tag b/src/web/app/ch/tags/index.tag
index 5f3871802a..489f21148f 100644
--- a/src/web/app/ch/tags/index.tag
+++ b/src/web/app/ch/tags/index.tag
@@ -1,7 +1,7 @@
<mk-index>
<mk-header/>
<hr>
- <button onclick={ n }>%i18n:ch.tags.mk-index.new%</button>
+ <button @click="n">%i18n:ch.tags.mk-index.new%</button>
<hr>
<ul if={ channels }>
<li each={ channels }><a href={ '/' + this.id }>{ this.title }</a></li>