Change selector for opening a file input
// FREEBIE
This commit is contained in:
parent
b354851697
commit
9011a85b56
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@
|
||||||
<div class="bottom-bar" id='footer'>
|
<div class="bottom-bar" id='footer'>
|
||||||
<form class='send'>
|
<form class='send'>
|
||||||
<div class='attachments'>
|
<div class='attachments'>
|
||||||
<div class='paperclip thumbnail'></div>
|
<div class='paperclip choose-file thumbnail'></div>
|
||||||
<input type='file' class='file-input'>
|
<input type='file' class='file-input'>
|
||||||
</div>
|
</div>
|
||||||
<input class="send-btn" type='submit' value='' />
|
<input class="send-btn" type='submit' value='' />
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
<script type='text/x-tmpl-mustache' id='group_info_input'>
|
<script type='text/x-tmpl-mustache' id='group_info_input'>
|
||||||
<div class='group-info-input'>
|
<div class='group-info-input'>
|
||||||
<div class='group-avatar'>
|
<div class='group-avatar'>
|
||||||
<div class='thumbnail'> {{> avatar }} </div>
|
<div class='choose-file thumbnail'> {{> avatar }} </div>
|
||||||
<input type='file' name='avatar' class='file-input'>
|
<input type='file' name='avatar' class='file-input'>
|
||||||
</div>
|
</div>
|
||||||
<input type='text' name='name' class='name' placeholder='Group Name' value="{{ name }}">
|
<input type='text' name='name' class='name' placeholder='Group Name' value="{{ name }}">
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
events: {
|
events: {
|
||||||
'change': 'previewImages',
|
'change': 'previewImages',
|
||||||
'click .close': 'deleteFiles',
|
'click .close': 'deleteFiles',
|
||||||
'click .thumbnail': 'open'
|
'click .choose-file': 'open'
|
||||||
},
|
},
|
||||||
|
|
||||||
open: function() {
|
open: function() {
|
||||||
|
|
Loading…
Reference in a new issue