PageSourceSearch

https://malyn-rada.gov.ua/themes/ukraina/js/ukraina.js?v=tm2ph2

js malyn-rada.gov.ua collected 2026-10-02 18:50:52 UTC 622 bytes, 24 lines download raw bytes

1(function($, Drupal){
2
3  $(document).ready(function(){
4
5    $('.site-page .block-menu > .menu').each(function(){
6      var $menu = $(this);
7      var path = window.location.pathname;
8      $menu.find('a').each(function(i){
9        var href = $(this).attr('href');
10        if (href === path) {
11          $(this).parents('.menu-item').addClass('menu-item--active-trail');
12          return;
13        }
14        if (href !== '/') {
15          if (path.lastIndexOf(href, 0) === 0) {
16            $(this).parents('.menu-item').addClass('menu-item--active-trail');
17          }
18        }
19      });
20    });
21
22  });
23
24})(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.