PageSourceSearch

https://www.hec.edu/modules/custom/hec/modules/hec_conf/js/custom-hec-cookie.js?tm7csp

js hec.edu collected 2026-10-01 08:46:33 UTC 463 bytes, 15 lines download raw bytes

1(function ($, Drupal) {
2  Drupal.behaviors.customCookie = {
3    attach: function (context, settings) {
4      if ($('#sliding-popup').length == false) {
5        $('body').removeClass('cookies-banner-visible');
6      }
7      else {
8        $('body').addClass('cookies-banner-visible');
9      }
10      $(document).on('click', '.cookies-banner__close-btn', function () {
11        $('body').removeClass('cookies-banner-visible');
12      });
13    }
14  }
15})(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.