PageSourceSearch

https://cuartohache.com/octavia/js/side-sticky.js?ver=1.0.0

js cuartohache.com collected 2026-10-08 09:08:41 UTC 912 bytes, 27 lines download raw bytes

1jQuery(document).ready(function($) {
2
3    // click event for .sticky-switch.
4    $('.sticky-switch').click(function(event) {
5        // stop the click on the link adding a # to the end of URL
6        event.preventDefault();
7
8        $(this).parents('#side-container').toggleClass('open');
9
10    });
11
12    // Close if user clicks outside of panel.
13    $(document).click(function(event) {
14        if(!$(event.target).closest('#side-container').length) {
15        // ... clicked on the 'body', but not inside of #side-container
16            if($('#side-container').hasClass('open')) {
17                $('#side-container').removeClass('open');
18            }
19        }
20    });
21
22    // Close the side panel after Submit button inside #side-section has been clicked.
23    $('#side-section input[type="submit"]').click(function(event) {
24        $('#side-container').removeClass('open');
25    });
26
27});

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.