mirror of
https://github.com/simon987/sist2.git
synced 2025-12-11 22:48:54 +00:00
Fix some memory leaks
This commit is contained in:
@@ -31,7 +31,7 @@ $.jsonPost("i").then(resp => {
|
||||
.attr("value", idx.id)
|
||||
.append(idx.name);
|
||||
if (!idx.name.includes("(nsfw)")) {
|
||||
opt.attr("selected", !idx.name.includes("(nsfw)"))
|
||||
opt.attr("selected", !idx.name.includes("(nsfw)"));
|
||||
selectedIndices.push(idx.id);
|
||||
}
|
||||
$("#indices").append(opt);
|
||||
|
||||
Reference in New Issue
Block a user