1
0
mirror of https://github.com/SillyTavern/SillyTavern.git synced 2025-03-31 04:10:20 +02:00

Prefer const

This commit is contained in:
Cohee 2024-05-24 22:25:18 +03:00
parent 5c3ad3e0bc
commit a717e2ace8

@ -1390,7 +1390,7 @@ class PromptManager {
// Add prompt export dialogue and options
const exportForCharacter = await renderTemplateAsync('promptManagerExportForCharacter');
let exportPopup = await renderTemplateAsync('promptManagerExportPopup', { isGlobalStrategy: 'global' === this.configuration.promptOrder.strategy, exportForCharacter });
const exportPopup = await renderTemplateAsync('promptManagerExportPopup', { isGlobalStrategy: 'global' === this.configuration.promptOrder.strategy, exportForCharacter });
rangeBlockDiv.insertAdjacentHTML('beforeend', exportPopup);
// Destroy previous popper instance if it exists