mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove unencessary functions
This commit is contained in:
@@ -390,32 +390,6 @@ export function applyTagsOnCharacterSelect() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function applyTagsOnImport() {
|
|
||||||
//clearTagsFilter();
|
|
||||||
const chid = Number($(this).attr('chid'));
|
|
||||||
const key = characters[chid].avatar;
|
|
||||||
const tags = getTagsList(key);
|
|
||||||
|
|
||||||
$("#tagList").empty();
|
|
||||||
|
|
||||||
for (const tag of tags) {
|
|
||||||
appendTagToList("#tagList", tag, { removable: true });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// export function applyTagsOnCharacterSelect(character, tags) {
|
|
||||||
// //clearTagsFilter();
|
|
||||||
// const chid = character.id;
|
|
||||||
// const key = characters[chid].avatar;
|
|
||||||
// const tags = getTagsList(key);
|
|
||||||
|
|
||||||
// $("#tagList").empty();
|
|
||||||
|
|
||||||
// for (const tag of tags) {
|
|
||||||
// appendTagToList("#tagList", tag, { removable: true });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
function applyTagsOnGroupSelect() {
|
function applyTagsOnGroupSelect() {
|
||||||
//clearTagsFilter();
|
//clearTagsFilter();
|
||||||
const key = $(this).attr('grid');
|
const key = $(this).attr('grid');
|
||||||
|
Reference in New Issue
Block a user