Ver Fonte

Set file-type

sbkwgh há 7 anos atrás
pai
commit
d0595aa5f0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      frontend/src/components/routes/SettingsGeneral.vue

+ 1 - 1
frontend/src/components/routes/SettingsGeneral.vue

@@ -13,7 +13,7 @@
 				<p class='p--condensed'>
 					Drag and drop an image or
 					<label class='button profile_picture_modal__upload_button'>
-						<input type='file' @change='processImage($event.target.files[0])'>
+						<input type='file' accept='image/*' @change='processImage($event.target.files[0])'>
 						upload a file
 					</label>
 				</p>