PageSourceSearch

https://admin.simplepay.hu/admin/res/js/vendor/sb-admin-2.js?ver=1111

js simplepay.hu collected 2026-09-24 09:31:25 UTC 1,118 bytes, 38 lines download raw bytes

1$(function() {
2
3  $('#side-menu').metisMenu();
4
5});
6
7// Loads the correct sidebar on window load,
8// collapses the sidebar on window resize.
9// Sets the min-height of #page-wrapper to window size
10var topOffset = 54;
11$(function() {
12  $(window).bind("load resize", function() {
13    var to = topOffset;
14    width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
15    if (width < 768) {
16      $('div.navbar-collapse').addClass('collapse');
17      to += 50; // 2-row-menu
18    } else {
19      $('div.navbar-collapse').removeClass('collapse');
20    }
21
22    height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 13;
23    height = height - to;
24    if (height <= 767){
25      height -= 50;
26    }
27    if (height < 1)
28      height = 1;
29    if (height > to) {
30      $("#page-wrapper").css("min-height", (height) + "px");
31    }
32  });
33
34  const url = window.location.href;
35  $('#side-menu a').filter(function () {
36    return this.href === url;
37  }).addClass('active').parentsUntil('#side-menu', 'ul.nav').addClass('in').parentsUntil('#side-menu', 'li').addClass('active');
38});

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.