Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging

This commit is contained in:
RossAscends 2023-07-21 05:38:58 +09:00
commit cda78d3cf0
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ async function getBackgrounds() {
const getData = await response.json(); const getData = await response.json();
//background = getData; //background = getData;
//console.log(getData.length); //console.log(getData.length);
$("#bg_menu_content").empty(); $("#bg_menu_content").children('div').remove();
for (const bg of getData) { for (const bg of getData) {
const template = getBackgroundFromTemplate(bg); const template = getBackgroundFromTemplate(bg);
$("#bg_menu_content").append(template); $("#bg_menu_content").append(template);