PageSourceSearch

https://www.amagpress.ch/modules/custom/mc_base/js/pressreleases-block.js?tmjw9n

js amagpress.ch collected 2026-10-07 19:57:33 UTC 775 bytes, 29 lines download raw bytes

1/**
2 * @file
3 * Gallery.
4 */
5(function ($, Drupal) {
6
7  'use strict';
8
9  Drupal.behaviors.pressreleases_block = {
10    attach: function (context, settings) {
11
12      $('.block-pressreleases .latest-title').on('click', function () {
13        $(this).addClass('active');
14        $('.block-pressreleases .archive-title').removeClass('active');
15        $('.block-pressreleases .latest').show();
16        $('.block-pressreleases .archive').hide();
17      });
18
19      $('.block-pressreleases .archive-title').on('click', function () {
20        $(this).addClass('active');
21        $('.block-pressreleases .latest-title').removeClass('active');
22        $('.block-pressreleases .latest').hide();
23        $('.block-pressreleases .archive').show();
24      });
25
26    },
27  };
28
29})(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.