PageSourceSearch

https://tolk-schau.de/shop/wp-content/themes/themify-ultra-child/js/custom.js?ver=7.1.1

js tolk-schau.de collected 2026-09-24 22:54:53 UTC 2,839 bytes, 85 lines download raw bytes

1
2
3jQuery(document).ready(function($) {
4  let foldableTrigger = jQuery('.foldable-element');
5  let accordionTrigger = jQuery('.open-accordion');
6  let accordion = jQuery('.accordion');
7
8  jQuery(function () {
9    foldableTrigger.click(function (e) {
10      e.stopPropagation();
11
12      accordion.toggleClass("active-accordion");
13    });
14  });
15
16  //find inner fullwidth class to change outer element
17  // const outerbox = $('.themify_builder_content');
18  // if($(outerbox).find('.module_row.fullwidth')){
19  //   $(outerbox).addClass('fullwidth');
20  // }
21
22  const eventDate = $(".single-tc_events .tc_the_content_pre");
23  if( $('body').hasClass('single-tc_events') === true )
24  {
25    eventDate.prepend(VisitText);
26  }
27});
28
29jQuery(document).ajaxSuccess(function($) {
30  let accordionTrigger = jQuery('.open-accordion');
31  let accordion = jQuery('.accordion');
32
33  accordionTrigger.click(function (e) {
34    e.stopPropagation();
35    accordion.toggleClass("active-accordion");
36  });
37});
38
39//mod. date time for tickets
40jQuery(document).ajaxSuccess(function () {
41  jQuery(document).ready(function($) {
42    let wrapper = jQuery(".post-date-wrap");
43    if (localStorage.getItem('Visit') !== null) {
44      let format_date = localStorage.getItem('Visit');
45      let format_day = format_date.slice(-2);
46      let format_month = format_date.slice(-5).slice(0,2);
47      switch (format_month) {
48        case '01': format_month = 'Jan'; break;
49        case '02': format_month = 'Feb'; break;
50        case '03': format_month = 'Mrz'; break;
51        case '04': format_month = 'Apr'; break;
52        case '05': format_month = 'Mai'; break;
53        case '06': format_month = 'Jun'; break;
54        case '07': format_month = 'Jul'; break;
55        case '08': format_month = 'Aug'; break;
56        case '09': format_month = 'Sep'; break;
57        case '10': format_month = 'Okt'; break;
58        case '11': format_month = 'Nov'; break;
59        case '12': format_month = 'Dez'; break;
60      }
61      let format_year = format_date.slice(0,4);
62      let wrapper_time = jQuery(wrapper).find('time');
63      if (wrapper_time.length > 0) {
64        jQuery(wrapper_time.attr('datetime', format_date));
65        jQuery(wrapper_time).children('span.day').html(format_day);
66        jQuery(wrapper_time).children('span.month').html(format_month);
67        jQuery(wrapper_time).children('span.year').html(format_year);
68      }
69      jQuery(".post-date-wrap .post-date").css('visibility','visible');
70    }
71  });
72});
73
74
75//add Button text to home button
76jQuery(document).ajaxComplete(function () {
77    const ticketButton = jQuery(".home .tc-display-filter-events .tc-single-event.tc-1-column");
78    if (jQuery('body').hasClass('home') === true)
79    {
80      ticketButton.append(ButtonText);
81    }
82});
83jQuery(window).bind('beforeunload', function () {
84  localStorage.removeItem('ButtonText');
85});

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.