mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Prefer const
This commit is contained in:
@ -1390,7 +1390,7 @@ class PromptManager {
|
|||||||
// Add prompt export dialogue and options
|
// Add prompt export dialogue and options
|
||||||
|
|
||||||
const exportForCharacter = await renderTemplateAsync('promptManagerExportForCharacter');
|
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);
|
rangeBlockDiv.insertAdjacentHTML('beforeend', exportPopup);
|
||||||
|
|
||||||
// Destroy previous popper instance if it exists
|
// Destroy previous popper instance if it exists
|
||||||
|
Reference in New Issue
Block a user