PageSourceSearch

https://acceleratingnews.eu/modules/custom/cern-components/patterns/atoms/background/js/background.js?t6oufl

js acceleratingnews.eu collected 2026-10-05 02:08:38 UTC 632 bytes, 19 lines download raw bytes

1(function ($, Drupal) {
2  'use strict';
3  Drupal.behaviors.CERNComponentsBackground = {
4     attach: function (context, settings) {
5      if ($('.background-component.background__cds_media').length) {
6        $('.background-component.background__cds_media').each(function () {
7          var image_link = $(this).find('figure a');
8          if (image_link.length > 0) {
9            image_link.css('cursor', 'default');
10            image_link.css('pointer-events', 'none');
11            image_link.on('click', function(e){
12              e.preventDefault();
13            });
14          }
15        });
16      }
17    }
18  }
19})(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.