PageSourceSearch

https://responsibility.com/wp-content/themes/responsibility/js/custom.js

js responsibility.com collected 2026-10-03 21:38:31 UTC 664 bytes, 32 lines download raw bytes

1$(document).ready(function(){
2
3
4  // Mobile switcher
5
6  var windowWidth = $(window).width();
7
8  if (windowWidth <= 768) {
9    $('#menu-main').addClass('mobile-menu');
10    $('#mobile-menu-switch').fadeIn('100');
11  } 
12
13
14  $( window ).resize(function() {
15    var windowWidth = $(window).width();
16
17    if (windowWidth <= 768) {
18      $('#menu-main').addClass('mobile-menu');
19      $('#mobile-menu-switch').fadeIn('100');
20
21    } else {
22      $('#menu-main').removeClass('mobile-menu');
23      $('#mobile-menu-switch').hide();
24    }
25  });
26
27  $('#mobile-menu-switch').click(function(event){
28    $('#menu-main').toggleClass('open');
29    event.preventDefault();
30  }); 
31
32});

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.