summaryrefslogtreecommitdiff
path: root/src/web/app/ch
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:17:59 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:17:59 +0900
commit07efc8e1504450b4eb6bc29f43986a9d538d0680 (patch)
tree8faf4958438cfad54383fc2df06bd2496e7acdc1 /src/web/app/ch
parentwip (diff)
downloadmisskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.tar.gz
misskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.tar.bz2
misskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.zip
wip
Diffstat (limited to 'src/web/app/ch')
-rw-r--r--src/web/app/ch/tags/channel.tag12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/web/app/ch/tags/channel.tag b/src/web/app/ch/tags/channel.tag
index 7e76778f9a..fec542500d 100644
--- a/src/web/app/ch/tags/channel.tag
+++ b/src/web/app/ch/tags/channel.tag
@@ -289,7 +289,7 @@
this.files = null;
this.on('mount', () => {
- this.refs.uploader.on('uploaded', file => {
+ this.$refs.uploader.on('uploaded', file => {
this.update({
files: [file]
});
@@ -297,7 +297,7 @@
});
this.upload = file => {
- this.refs.uploader.upload(file);
+ this.$refs.uploader.upload(file);
};
this.clearReply = () => {
@@ -311,7 +311,7 @@
this.update({
files: null
});
- this.refs.text.value = '';
+ this.$refs.text.value = '';
};
this.post = () => {
@@ -324,7 +324,7 @@
: undefined;
this.api('posts/create', {
- text: this.refs.text.value == '' ? undefined : this.refs.text.value,
+ text: this.$refs.text.value == '' ? undefined : this.$refs.text.value,
media_ids: files,
reply_id: this.reply ? this.reply.id : undefined,
channel_id: this.channel.id
@@ -340,11 +340,11 @@
};
this.changeFile = () => {
- Array.from(this.refs.file.files).forEach(this.upload);
+ Array.from(this.$refs.file.files).forEach(this.upload);
};
this.selectFile = () => {
- this.refs.file.click();
+ this.$refs.file.click();
};
this.drive = () => {