mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-25 01:44:47 +01:00
Don't add classes that are no longer needed
This commit is contained in:
parent
c2d24ee4d9
commit
6663360caa
@ -255,8 +255,6 @@ function setupCollapsibleLists() {
|
||||
child.classList.add("collapsible-item");
|
||||
child.style.animationDelay = ((c - collapseAfter) * 20).toString() + "ms";
|
||||
}
|
||||
|
||||
list.classList.add("ready");
|
||||
}
|
||||
}
|
||||
|
||||
@ -319,7 +317,6 @@ function setupCollapsibleGrids() {
|
||||
afterContentReady(() => {
|
||||
cardsPerRow = getCardsPerRow();
|
||||
resolveCollapsibleItems();
|
||||
gridElement.classList.add("ready");
|
||||
});
|
||||
|
||||
window.addEventListener("resize", () => {
|
||||
|
Loading…
Reference in New Issue
Block a user