PageSourceSearch

https://my.psychiatryinstitute.com/wp-content/themes/salient-child-myipi/js/scripts.js?ver=1761144709

js psychiatryinstitute.com collected 2026-09-26 07:31:43 UTC 1,930 bytes, 69 lines download raw bytes

1(function($) {
2
3  $(".tablesorter").each(function(i, el) {
4    var elem = $(el);
5    elem.tablesorter();
6    //console.log(elem);
7  });
8
9
10  console.log('Script Loading');
11
12
13  // FORCE a reload of login-now on Safari
14  // Which should then force the login-redirect from functions.php
15  // which in turn should send logged in users back to the dashboard
16  if (window.location.href.indexOf("login-now") > -1 &&  (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) ) {
17    console.log('Safari and login page detected, forcing reload');
18
19    var url = window.location.href;
20    if (url.indexOf('rnd=') == -1) {
21        url = (url.indexOf("?") == -1 ? url + "?rnd=" : url + "&rnd=") + Math.random();
22        window.location.href = url;
23    }
24
25  }
26
27
28})(jQuery);
29
30
31jQuery(document).ready(function($) {
32	$(".mobile-nav-trigger").click(function(){
33		$(this).toggleClass("active");
34    $("#sidebar.member-sidebar").toggleClass("collapsed");
35    $("#sidebar.member-sidebar").slideToggle( "medium", function() {
36      // Animation complete.
37    });
38		return false;
39	});
40
41});
42
43
44
45document.addEventListener("DOMContentLoaded", function () {
46  const tooltips = document.querySelectorAll('.tooltip');
47
48  tooltips.forEach(function (tooltip) {
49    const title = tooltip.getAttribute('title');
50    if (title) {
51      tooltip.removeAttribute('title');  // Remove the default browser tooltip
52
53      const tooltipText = document.createElement('span');
54      tooltipText.classList.add('tooltiptext');
55      tooltipText.textContent = title;
56      tooltip.appendChild(tooltipText);
57
58      tooltip.addEventListener('mouseover', function () {
59        tooltipText.style.visibility = 'visible';
60        tooltipText.style.opacity = '1';
61      });
62
63      tooltip.addEventListener('mouseout', function () {
64        tooltipText.style.visibility = 'hidden';
65        tooltipText.style.opacity = '0';
66      });
67    }
68  });
69});

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.