From 840f391661a05b01b19e06e86054c31aadecf8ac Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 1 Mar 2018 09:02:42 -0800 Subject: [PATCH] start on media upload --- routes/_components/compose/ComposeToolbar.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/routes/_components/compose/ComposeToolbar.html b/routes/_components/compose/ComposeToolbar.html index 372dd9a5..e220ccaf 100644 --- a/routes/_components/compose/ComposeToolbar.html +++ b/routes/_components/compose/ComposeToolbar.html @@ -4,7 +4,14 @@ href="#fa-smile" on:click="onEmojiClick()" /> - + + @@ -32,7 +39,11 @@ /* no await */ updateCustomEmojiForInstance(this.store.get('currentInstance')) let dialogs = await importDialogs() dialogs.showEmojiDialog() + }, + onMediaClick() { + this.refs.input.click() } } + } \ No newline at end of file