backgrounds.js: update for new poup
| @@ -245,7 +245,7 @@ async function getNewBackgroundName(referenceElement) { | ||
| 245 | 245 | const fileExtension = oldBg.split('.').pop(); |
| 246 | 246 | const fileNameBase = isCustom ? oldBg.split('/').pop() : oldBg; |
| 247 | 247 | const oldBgExtensionless = fileNameBase.replace(`.${fileExtension}`, ''); |
| 248 | 248 | const newBgExtensionless = await callPopupPopup.show.input('<h3>' + t`Enter new background name:` + '</h3>', 'input'null, oldBgExtensionless); |
| 249 | 249 | |
| 250 | 250 | if (!newBgExtensionless) { |
| 251 | 251 | console.debug('no new_bg_extensionless'); |