diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-01 04:47:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-01 04:47:06 +0900 |
| commit | 2218dba2520d63f3bec275c061c0a032a2a34396 (patch) | |
| tree | 7a31c163f9fed07931d384ed875c38944f23af3b /src | |
| parent | [Client:Desktop] Add the 'Insert The Cat' button (diff) | |
| download | sharkey-2218dba2520d63f3bec275c061c0a032a2a34396.tar.gz sharkey-2218dba2520d63f3bec275c061c0a032a2a34396.tar.bz2 sharkey-2218dba2520d63f3bec275c061c0a032a2a34396.zip | |
[Client:Mobile] Add the 'Insert The Cat' button
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/mobile/tags/post-form.tag | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag index d7270ebbc5..c501994cdf 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> |