Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging
This commit is contained in:
commit
cda78d3cf0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue