From c279a5e1ca03bc6298c0ed99ceb56aac3816c29d Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Wed, 1 Feb 2017 04:47:06 +0900 Subject: [PATCH] [Client:Mobile] Add the 'Insert The Cat' button --- src/web/app/mobile/tags/post-form.tag | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag index d7270ebbc..c501994cd 100644 --- a/src/web/app/mobile/tags/post-form.tag +++ b/src/web/app/mobile/tags/post-form.tag @@ -21,6 +21,7 @@ <mk-uploader ref="uploader"></mk-uploader> <button ref="upload" onclick={ selectFile }><i class="fa fa-upload"></i></button> <button ref="drive" onclick={ selectFileFromDrive }><i class="fa fa-cloud"></i></button> + <button class="cat" onclick={ cat }><i class="fa fa-smile-o"></i></button> <input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/> </div> <style type="stylus"> @@ -161,6 +162,7 @@ > [ref='upload'] > [ref='drive'] + .cat display inline-block padding 0 margin 0 @@ -260,5 +262,8 @@ @cancel = ~> @trigger \cancel @unmount! + + @cat = ~> + @refs.text.value = @refs.text.value + '(=^・・^=)' </script> </mk-post-form>