Fix infinite scroll

This commit is contained in:
Will Miao
2025-03-20 17:31:56 +08:00
parent 607ab35cce
commit b11757c913
4 changed files with 16 additions and 26 deletions

View File

@@ -275,11 +275,7 @@ export function appendLoraCards(loras) {
loras.forEach(lora => {
const card = createLoraCard(lora);
if (sentinel) {
grid.insertBefore(card, sentinel);
} else {
grid.appendChild(card);
}
grid.appendChild(card);
});
}