PageSourceSearch

https://www.modern-theatre.ru/local/templates/modern/assets/js/home.js?1770573729

js modern-theatre.ru collected 2026-10-02 16:36:51 UTC 898 bytes, 23 lines download raw bytes

1const btn = document.getElementById("showMoreShows");
2const block = document.querySelector(".shows-holder--two");
3
4if (btn && block) {
5    // Изначально скрываем второй блок
6    block.style.display = "none";
7    
8    btn.addEventListener("click", () => {
9        // Показываем блок
10        block.style.display = "flex";
11        
12        // Скрываем кнопку после раскрытия
13        btn.style.display = "none";
14        
15        // Пересчитываем сетку для показанного блока
16        if (typeof arrangeCards === 'function') {
17            // Небольшая задержка, чтобы браузер успел отрисовать блок перед расчетом координат
18            setTimeout(() => {
19                arrangeCards();
20            }, 10);
21        }
22    });
23}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.