mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix return type
This commit is contained in:
@ -354,6 +354,8 @@ export class SlashCommand {
|
||||
}
|
||||
this.helpDetailsCache[key] = frag;
|
||||
}
|
||||
return this.helpDetailsCache[key].cloneNode(true);
|
||||
const frag = document.createDocumentFragment();
|
||||
frag.append(this.helpDetailsCache[key].cloneNode(true));
|
||||
return frag;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user