PageSourceSearch

https://staatstheater-hannover.de/media/scripts/user_panel.js

js staatstheater-hannover.de collected 2026-09-24 09:42:50 UTC 700 bytes, 28 lines download raw bytes

1$(document).ready(function () {
2
3    function toggleUserpanel() {
4        window.scrollTo(300, 0);
5        $("#user-panel").toggleClass("user-panel-open");
6        //$("#user-area-button").toggleClass("user-area-button-open");
7    }
8
9    $("#user-area-button").click(function () {
10        toggleUserpanel();
11    });
12
13    var hash = window.location.hash;
14    if (hash === '#userpanel') {
15        if (ENV.auth !== null) {
16            toggleUserpanel();
17        }
18    }
19
20    $(window).on('hashchange', function (e) {
21        var hash = window.location.hash;
22        if (hash === '#userpanel') {
23            if (ENV.auth !== null) {
24                toggleUserpanel();
25            }
26        }
27    });
28});

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.