PageSourceSearch

https://www.mohawkcollege.ca/themes/de_theme/dist/scripts/js/international.min.js?tls0qd

js mohawkcollege.ca collected 2026-09-24 09:18:30 UTC 1,903 bytes, 40 lines download raw bytes

1"use strict";
2
3/**
4 * @file
5 * A JavaScript file for the theme.
6 */
7(function ($, Drupal) {
8  $(window).on('load', function () {
9    /* ----------------------------------------------------------------------------------------------------- */
10    // International testimonials slider
11
12    /* ----------------------------------------------------------------------------------------------------- */
13    $('.view-testimonal .item-list ul.view-content').slick({
14      slidesToShow: 1,
15      slidesToScroll: 1,
16      arrows: true,
17      appendArrows: $('.slick-nav'),
18      fade: true,
19      centerMode: true,
20      focusOnSelect: true
21    });
22    $('.block-views-exposed-filter-blockstaff-staff-recruiters #edit-submit-staff').prop('value', 'Find a recruiter');
23    $('.view-staff.view-display-id-staff_recruiters .views-row .node__content span.field--name-title').matchHeight();
24    $('.view-staff.view-display-id-staff_recruiters .views-row').matchHeight(); // international students apply link
25
26    if ($('.node--type-program .field-collection--program-sessions-int .program-session--international-link').length) {
27      $('.node--type-program .field-collection--program-sessions-int .program-session--row').each(function () {
28        var row_height = parseInt($(this).css('height'));
29        var link_height = parseInt($(this).find('.program-session--international-link').css('height'));
30        $(this).find('.program-session--international-link').css('margin-top', row_height / 2 - link_height / 2 + 'px');
31        var date_height = parseInt($(this).find('.program-session--start-dates').css('height'));
32
33        if (date_height < row_height) {
34          $(this).find('.program-session--start-dates').css('height', row_height);
35          $(this).find('.field--name-field-session-start-date').css('margin-top', row_height / 2 - date_height / 2 + 'px');
36        }
37      });
38    }
39  });
40})(jQuery, Drupal);

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.