From fb4b17d8b5cde92b607fd989b322356562889afa Mon Sep 17 00:00:00 2001 From: Christoph Schmidt Date: Wed, 17 Mar 2021 19:06:31 +0100 Subject: [PATCH] Renamed shortenerAppSave from saveAppSettings to saveShortSettings --- ts/admin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/admin.ts b/ts/admin.ts index d172ab5..0424aff 100644 --- a/ts/admin.ts +++ b/ts/admin.ts @@ -76,7 +76,7 @@ $(() => { return shortener.replace(/${OC.currentUser}`).replace(/\{token\}/g, 'your_room_id'); } - async function saveAppSettings(shortener: string) { + async function saveShortSettings(shortener: string) { await checkPasswordConfirmation(); if (shortener && shortener.indexOf('https://') !== 0) { @@ -95,7 +95,7 @@ $(() => { const resultElement = $(this).find('.bbb-result').empty(); - saveAppSettings(this['app.shortener'].value).then(() => { + saveShortSettings(this['app.shortener'].value).then(() => { const successElement = generateSuccessElement(t('bbb', 'Settings saved')); setTimeout(() => {