PageSourceSearch

https://somethingelse.jp/assets/layouts/front-2c3d8920f52485c9a7d2…cbddbd54a1d746a87af5ab3e564a44465e3f6771.js

js somethingelse.jp collected 2026-09-30 06:35:54 UTC 590 bytes, 19 lines download raw bytes

1import "jquery";
2
3function initializeSidebarToggle() {
4    // SPボタン
5    $(".js-sidebar_toggleBtn").off("click").on("click", function () {
6        $(this).toggleClass("open");
7        $(".js-header").toggleClass("open");
8    });
9
10    // SPヘッダーのリンクがクリックされたときに、サイドバーを閉じる
11    $(".js-headerLink").off("click").on("click", function () {
12        $(".js-sidebar_toggleBtn").removeClass("open");
13        $(".js-header").removeClass("open");
14    });
15}
16
17document.addEventListener("turbo:load", () => {
18    initializeSidebarToggle();
19});

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.