fix return type

This commit is contained in:
LenAnderson
2024-04-27 09:12:39 -04:00
parent eee0504ff4
commit df011bd14c

View File

@ -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;
}
}