Przeglądaj źródła

Don't add classes that are no longer needed

Svilen Markov 1 rok temu
rodzic
commit
6663360caa
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 3
      internal/assets/static/main.js

+ 0 - 3
internal/assets/static/main.js

@@ -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", () => {