FIX: profile background inputs always appear disabled
This commit is contained in:
parent
bbef5fb3c7
commit
76a95e4aaf
|
@ -1,6 +1,6 @@
|
||||||
<div class="uploaded-image-preview" class="input-xxlarge" {{bind-attr style="backgroundStyle"}}>
|
<div class="uploaded-image-preview" class="input-xxlarge" {{bind-attr style="backgroundStyle"}}>
|
||||||
<div class="image-upload-controls">
|
<div class="image-upload-controls">
|
||||||
<label class="btn pad-left no-text" {{bind-attr disabled="uploading"}}>
|
<label class="btn pad-left no-text {{if uploading 'disabled'}}">
|
||||||
{{fa-icon "picture-o"}}
|
{{fa-icon "picture-o"}}
|
||||||
<input {{bind-attr disabled="uploading"}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" />
|
<input {{bind-attr disabled="uploading"}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" />
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Reference in New Issue