mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove doubled initialization of prompt manager
This commit is contained in:
@ -140,7 +140,7 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
|
||||
const promptId = event.target.dataset.pmPrompt;
|
||||
const prompt = this.getPromptById(promptId);
|
||||
|
||||
if (null === prompt){
|
||||
if (null === prompt) {
|
||||
this.addPrompt({}, promptId);
|
||||
} else {
|
||||
this.updatePrompt(prompt);
|
||||
|
Reference in New Issue
Block a user