From 52e7df970f198232ffeff8ebff897785f15c96f4 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 2 Jun 2025 23:44:59 +0300 Subject: [PATCH] backgrounds.js: update for new poup --- public/scripts/backgrounds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/backgrounds.js b/public/scripts/backgrounds.js index 72df695d1..8b2d5f9c6 100644 --- a/public/scripts/backgrounds.js +++ b/public/scripts/backgrounds.js @@ -245,7 +245,7 @@ async function getNewBackgroundName(referenceElement) { const fileExtension = oldBg.split('.').pop(); const fileNameBase = isCustom ? oldBg.split('/').pop() : oldBg; const oldBgExtensionless = fileNameBase.replace(`.${fileExtension}`, ''); - const newBgExtensionless = await callPopup('

' + t`Enter new background name:` + '

', 'input', oldBgExtensionless); + const newBgExtensionless = await Popup.show.input(t`Enter new background name:`, null, oldBgExtensionless); if (!newBgExtensionless) { console.debug('no new_bg_extensionless');