mirror of
https://github.com/Xevion/glance.git
synced 2025-12-08 10:07:16 -06:00
Don't add classes that are no longer needed
This commit is contained in:
@@ -255,8 +255,6 @@ function setupCollapsibleLists() {
|
|||||||
child.classList.add("collapsible-item");
|
child.classList.add("collapsible-item");
|
||||||
child.style.animationDelay = ((c - collapseAfter) * 20).toString() + "ms";
|
child.style.animationDelay = ((c - collapseAfter) * 20).toString() + "ms";
|
||||||
}
|
}
|
||||||
|
|
||||||
list.classList.add("ready");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -319,7 +317,6 @@ function setupCollapsibleGrids() {
|
|||||||
afterContentReady(() => {
|
afterContentReady(() => {
|
||||||
cardsPerRow = getCardsPerRow();
|
cardsPerRow = getCardsPerRow();
|
||||||
resolveCollapsibleItems();
|
resolveCollapsibleItems();
|
||||||
gridElement.classList.add("ready");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener("resize", () => {
|
window.addEventListener("resize", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user