PageSourceSearch

https://piekary.pl/wp-content/themes/piekary/assets/js/custom.js

js piekary.pl collected 2026-09-24 09:44:48 UTC 1,456 bytes, 51 lines download raw bytes

1$(".js-virtual-expand").click(function(){
2  $('.top_menu__wrapper').attr("tabindex",-1).focus();
3})
4
5$(document).ready(function(){
6
7  $('.section__search').attr("tabindex",-1).focus();
8
9  $("form").each(function() {
10    $(this).attr('autocomplete', 'on');
11  });
12
13  $( ".nav--main .menu-item-has-children, .js-contrast" ).focusin(function() {
14    $(this).addClass('focus');
15  });
16
17  $( ".nav--right-menu ul li:nth-last-child(1)" ).focusin(function() {
18    $('.js-contrast').removeClass('focus');
19  });
20
21  $( ".nav--main .menu-item-has-children" ).focusout(function() {
22    $(this).removeClass('focus');
23  });
24
25  $( ".nav--main .menu-item-has-children .sub-menu .menu-item-has-children" ).focusout(function() {
26    $(this).removeClass('focus');
27  });
28
29  $('.section_slider__wrapper a, .widget__carousel a, aside .widget-menu a').each(function() {
30    $(this).attr('tabindex', '-1');
31  });
32
33  $('#cookie-law-info-bar a, #cookie_hdr_showagain').each(function() {
34    $(this).attr('tabindex', '1');
35  });
36
37  $('#cookie-law-info-bar, #cookie_hdr_showagain').attr('aria-label', 'aria-label=”Informacja i ustawienia plików cookies')
38
39  $('#cookie-law-info-again').on('keypress',function(e) {
40    if(e.which == 13) {
41      console.log('enter');
42      $('#cookie-law-info-again').click();
43      setTimeout(function(){
44        $('#cookie_action_close_header').focus();
45      }, 500);
46    }
47  });
48
49  // document.getElementById("cookie-law-info-again").focus();
50})
51

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.