PageSourceSearch

https://offerilla.com/wp-content/themes/kupon-child/js/offerilla.js

js offerilla.com collected 2026-09-26 15:23:44 UTC 2,478 bytes, 75 lines download raw bytes

1jQuery(document).ready(function(){
2    jQuery('.woocommerce-checkout').find('.showcoupon').parent().hide();
3
4    jQuery('body.woocommerce-checkout #terms').prop('checked', true);
5
6    //JQuery('#menu-item-347 a[href]').find('title').hide();
7
8});
9
10jQuery(function ($) {
11    function bindSocialLoginToggle() {
12        var $link = $('a.js-show-social-login');
13
14        $link.off('click').on('click.offerillaSocialLogin', function (event) {
15            var $loginForm = $('.woocommerce form.login');
16            var $regularLogin = $loginForm.children(':not(.wc-social-login)');
17            var $socialLogin = $loginForm.find('.wc-social-login');
18
19            event.preventDefault();
20            $loginForm.stop(true, true);
21            $regularLogin.stop(true, true);
22            $socialLogin.stop(true, true);
23
24            if (!$loginForm.is(':visible')) {
25                $regularLogin.hide();
26                $socialLogin.show();
27                $loginForm.slideDown();
28            } else if ($regularLogin.is(':visible')) {
29                $regularLogin.hide();
30                $socialLogin.show();
31            } else if ($socialLogin.is(':visible')) {
32                $loginForm.slideUp();
33            }
34
35            return false;
36        });
37    }
38
39    function bindCheckoutLoginToggle() {
40        var $link = $('a.showlogin');
41
42        $link.off('click').on('click.offerillaCheckoutLogin', function (event) {
43            var $loginForm = $('.woocommerce form.login');
44            var $regularLogin = $loginForm.children(':not(.wc-social-login)');
45            var $socialLogin = $loginForm.find('.wc-social-login');
46
47            event.preventDefault();
48            $loginForm.stop(true, true);
49            $regularLogin.stop(true, true);
50            $socialLogin.stop(true, true);
51
52            if (!$loginForm.is(':visible')) {
53                $regularLogin.show();
54                $socialLogin.hide();
55                $loginForm.slideDown();
56            } else if ($socialLogin.is(':visible')) {
57                $socialLogin.hide();
58                $regularLogin.show();
59            } else if ($regularLogin.is(':visible')) {
60                $loginForm.slideUp();
61            }
62
63            return false;
64        });
65    }
66
67    bindSocialLoginToggle();
68    bindCheckoutLoginToggle();
69    $(document.body).on('updated_checkout.offerillaSocialLogin', bindSocialLoginToggle);
70    $(document.body).on('updated_checkout.offerillaCheckoutLogin', bindCheckoutLoginToggle);
71});
72
73
74
75

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.