Explorar o código

Set file-type

sbkwgh %!s(int64=7) %!d(string=hai) anos
pai
achega
d0595aa5f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>