PageSourceSearch

https://seinajoenkaupunginteatteri.fi/wp-content/themes/aalto/javascripts/haitari.js

js seinajoenkaupunginteatteri.fi collected 2026-10-02 12:50:50 UTC 441 bytes, 19 lines download raw bytes

1/* Haitari */
2document.addEventListener("click", function (event) {
3    const button = event.target.closest(".haitari");
4
5    if (!button) return;
6
7    button.classList.toggle("active");
8
9    const content = button.nextElementSibling;
10
11    if (!content) return;
12
13    if (content.style.maxHeight) {
14        content.style.maxHeight = null;
15    } else {
16        content.style.maxHeight = content.scrollHeight + "px";
17    }
18});
19/* End Haitari */

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.