PageSourceSearch

https://www.teknovation.biz/wp-content/themes/teknovation-biz-3/wp-assets/js/general.js?ver=1748903101

js teknovation.biz collected 2026-10-02 08:24:08 UTC 1,503 bytes, 57 lines download raw bytes

1function loadMore(paged) {
2    $.ajax({
3        type: 'POST',
4        url: '/wp-admin/admin-ajax.php',
5        dataType: 'json',
6        data: {
7            action: 'am_load_more',
8            paged,
9        },
10        success: function (res) {
11            if(paged >= res.total) {
12                $('#load-more').hide();
13            }
14            $('.row-post').append(res.html);
15        }
16    });
17}
18
19function loadMore2(paged) {
20    $.ajax({
21        type: 'POST',
22        url: '/wp-admin/admin-ajax.php',
23        dataType: 'json',
24        data: {
25            action: 'am_load_more2',
26            paged,
27        },
28        success: function (res) {
29            if(paged >= res.total) {
30                $('#load-more2').hide();
31            }
32            $('.row-post').append(res.html);
33        }
34    });
35}
36
37let newPage = 1;
38$('#load-more').on('click', function(){
39    loadMore(newPage + 1);
40    newPage++;
41});
42$('#load-more2').on('click', function(){
43    loadMore2(newPage + 1);
44    newPage++;
45});
46
47jQuery(document).ready(function(){
48    jQuery(document).on('gform_confirmation_loaded', function(event, formId){
49        if (formId === 1) {
50            jQuery('.subscribe-form').css('display', 'none');;
51            jQuery('.thank-message').css('display', 'block');
52        }
53    });
54    if (window.location.href.search('events-calendar') !== -1) {
55        jQuery(".nav a[href*='events-calendar']").parent().addClass('current-menu-item');
56    }
57});

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.