PageSourceSearch

http://futureswithoutviolence.org/wp-content/themes/futures-withou…/resources/js/blocks/staff-tabs.js?ver=1.0

js futureswithoutviolence.org collected 2026-09-24 08:39:29 UTC 1,870 bytes, 46 lines download raw bytes

1jQuery(document).ready(function($) {
2  $('#OrganizationFilter li').on('click', function() {
3      if($(this).data('organization') == 'staff') {
4        $('#DepartmentFilter').removeClass('hidden');
5      } else {
6        $('#DepartmentFilter').addClass('hidden');
7      }
8
9      $('#OrganizationFilter li').removeClass('active');
10      $(this).addClass('active');
11
12      $.ajax({
13          url: loadStaffDetails.ajaxurl,
14          type: 'POST',
15          data: {
16              action: 'load_staff_details',
17              nonce: loadStaffDetails.nonce,
18              organization: $(this).data('organization'),
19          },
20          success: function(response) {
21              if (response.staff.length > 0) {
22                  $StaffList = $('#StaffList');
23                  $StaffList.empty();
24                  response.staff.forEach(function(staff) {                      
25                      $StaffList.append(`
26                        <div data-info="${staff.id}"  class="round-image-tile staff-item"  data-sort="${staff.sort}">
27                          <div class="round-image-tile__image">
28                          <img src="${staff.image}" alt="${staff.image_alt}">
29                          </div>
30                          <h3 class="proxima-nova-bold uppercase font-extrabold text-2xl">${staff.title}</h3>
31                          <h3 class="">${staff.alt_title}</h3>
32                          <h3 class="proxima-nova-bold uppercase font-extrabold px-8">${staff.description}</h3>
33                        </div>
34                      `);
35                  });
36              } else {
37                  $StaffList = $('#StaffList');
38                  $StaffList.empty();
39                  $StaffList.append(`
40                    <h3 class="proxima-nova-bold">No Staff Members Found</h3>
41                  `);
42              }
43          }
44      });
45  });
46});

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.