Improved Jua uploader

This commit is contained in:
djmaze 2021-09-14 12:50:56 +02:00
parent 2cb73643ca
commit 9e28eb5fc7
5 changed files with 45 additions and 66 deletions

View file

@ -57,10 +57,7 @@ export class ThemesUserSettings {
if (this.background.uploaderButton() && this.capaUserBackground()) {
const oJua = new Jua({
action: serverRequest('UploadBackground'),
name: 'uploader',
queueSize: 1,
multipleSizeLimit: 1,
disableMultiple: true,
limit: 1,
clickElement: this.background.uploaderButton()
});