PageSourceSearch

https://www.haaga-helia.fi/themes/custom/hh/components/02-molecules/card/cards.js?tfdi11

js haaga-helia.fi collected 2026-09-24 08:36:20 UTC 619 bytes, 16 lines download raw bytes

1(function ($, Drupal) {
2    Drupal.behaviors.search = {
3      attach: function (context) {
4        /* Setting whole card clickable */
5        $(".card").click(function() {
6          window.location = $(this).find("a").attr("href"); 
7          return false;
8        });
9
10        /* Getting parent based on child class */
11        $('.view-thematic-content .views-card-row:has(.card--type-project-card, .card--type-event)').addClass('no-flex');
12
13        $('.paragraph--type-card-listings .field__items .field__item:has(.card--type-project-card, .card--type-event)').addClass('no-flex');
14      }
15    }
16  })(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.