PageSourceSearch

https://wheelio-app.com/wp-content/themes/saasland/assets/js/custom-wp.js?ver=1.0

js wheelio-app.com collected 2026-09-26 02:20:29 UTC 5,432 bytes, 147 lines download raw bytes

1;(function ($) {
2    "use strict";
3
4    $(document).ready(function () {
5
6        // Add job apply form class
7        $('.page-job-apply .wpcf7-form').addClass('row');
8
9        // Apply pull quote color
10        let pullquote_color = $('.wp-block-pullquote').attr('style');
11        $('.wp-block-pullquote blockquote').attr('style', pullquote_color);
12
13        $('.tinv-wraper.tinv-wishlist a.tinvwl_add_to_wishlist_button').append('<i class="ti-heart"></i>');
14
15        // Manage dropdown active classes
16        function active_dropdown() {
17            if ($(window).width() < 992) {
18                $('.menu li.submenu > a').on('click', function (event) {
19                    event.preventDefault()
20                    $(this).parent().find('ul').first().toggle(700);
21                    $(this).parent().siblings().find('ul').hide(700);
22                });
23            }
24        }
25
26        active_dropdown();
27
28        $('.navbar-nav .mega_menu>.dropdown-menu').wrap('<div class="mega_menu_inner"></div>');
29
30        if ($('.comment_box .children').length > 0) {
31            $('.comment_box .children').addClass('list-unstyled reply_comment').removeClass('children');
32            $('.reply_comment .post_comment').removeClass('post_comment');
33        }
34
35        $('.widget_products').addClass('widget_product');
36        $('.widget_top_rated_products').addClass('widget_product');
37        $('.widget_recently_viewed_products').addClass('widget_product');
38        $('.widget_products ul.product_list_widget').addClass('list-unstyled');
39        $('.widget_product_search').addClass('search_widget_two');
40        $('.widget_product_categories ').addClass('widget_category');
41
42        $('.footer-widget:first-child .f_widget').removeClass('pl_70 ');
43
44        /*------------- preloader js --------------*/
45        function loader() {
46            $(window).on('load', function () {
47                $('#ctn-preloader').addClass('loaded');
48                // Una vez haya terminado el preloader aparezca el scroll
49
50                if ($('#ctn-preloader').hasClass('loaded')) {
51                    // Es para que una vez que se haya ido el preloader se elimine toda la seccion preloader
52                    $('#preloader').delay(900).queue(function () {
53                        $(this).remove();
54                    });
55                }
56            });
57        }
58
59        loader();
60
61        //* Navbar Fixed
62        function navbarFixed() {
63            if ($('.header_stick').length) {
64                $(window).scroll(function () {
65                    var scroll = $(window).scrollTop();
66                    if (scroll) {
67                        $(".header_stick").addClass("navbar_fixed");
68                    } else {
69                        $(".header_stick").removeClass("navbar_fixed");
70                    }
71                });
72            }
73        }
74
75        navbarFixed();
76
77        if ($('.search-btn').length) {
78            $('.search-btn').on('click', function () {
79                $('body').addClass('open');
80                setTimeout(function () {
81                    $('.search-input').focus();
82                }, 500);
83                return false;
84            });
85            $('.close_icon').on('click', function () {
86                $('body').removeClass('open');
87                return false;
88            });
89        }
90
91        // hamburger_menu
92        function offcanvasActivator() {
93            if ($('.bar_menu').length) {
94                $('.bar_menu').on('click', function () {
95                    $('#menu').toggleClass('show-menu');
96                });
97                $('.close_icon').on('click', function () {
98                    $('#menu').removeClass('show-menu');
99                });
100            }
101        }
102
103        offcanvasActivator();
104
105        $('.offcanfas_menu .dropdown').on('show.bs.dropdown', function (e) {
106            $(this).find('.dropdown-menu').first().stop(true, true).slideDown(400);
107        });
108        $('.offcanfas_menu .dropdown').on('hide.bs.dropdown', function (e) {
109            $(this).find('.dropdown-menu').first().stop(true, true).slide
109Up(500);
110        });
111
112        $(window).on("load", function () {
113            if ($('.mega_menu_two .scroll').length) {
114                $(".mega_menu_two .scroll").mCustomScrollbar({
115                    mouseWheelPixels: 50,
116                    scrollInertia: 0,
117                });
118            }
119        });
120
121        // Update cart button
122        $('.ar_top').on('click', function () {
123            var getID = $(this).next().attr('id');
124            var result = document.getElementById(getID);
125            var qty = result.value;
126            $('.shopping_cart_area .cart_btn.cart_btn_two').removeAttr('disabled');
127            if (!isNaN(qty)) {
128                result.value++;
129            } else {
130                return false;
131            }
132        });
133
134        $('.ar_down').on('click', function () {
135            var getID = $(this).prev().attr('id');
136            var result = document.getElementById(getID);
137            var qty = result.value;
138            $('.shopping_cart_area .cart_btn.cart_btn_two').removeAttr('disabled');
139            if (!isNaN(qty) && qty > 0) {
140                result.value--;
141            } else {
142                return false;
143            }
144        });
145    });
146
147})(jQuery);

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.