Cleanup links

This commit is contained in:
djmaze 2021-02-04 11:25:00 +01:00
parent 6a92912a3d
commit 32c3f1f059
8 changed files with 25 additions and 133 deletions

View file

@ -2,7 +2,7 @@ import ko from 'ko';
import { SaveSettingsStep, UploadErrorCode, Capa } from 'Common/Enums';
import { changeTheme, convertThemeName } from 'Common/Utils';
import { userBackground, themePreviewLink, uploadBackground } from 'Common/Links';
import { userBackground, themePreviewLink, serverRequest } from 'Common/Links';
import { i18n } from 'Common/Translator';
import { doc, $htmlCL } from 'Common/Globals';
@ -81,7 +81,7 @@ export class ThemesUserSettings {
initUploader() {
if (this.background.uploaderButton() && this.capaUserBackground()) {
const oJua = new Jua({
action: uploadBackground(),
action: serverRequest('UploadBackground'),
name: 'uploader',
queueSize: 1,
multipleSizeLimit: 1,