PageSourceSearch

https://brainfood.gr/wp-content/plugins/timologia-for-woocommerce/script1.js

js brainfood.gr collected 2026-10-03 22:32:49 UTC 1,496 bytes, 39 lines download raw bytes

1(function ($) {
2    $(document).ready(function(){
3        var $timologio = $('#billing_timologio');
4
5        function checkTimologioFieldsVisibility() {
6           var required = '<abbr class="required" title="<?php echo $required; ?>">*</abbr>';    
7           var timologio = $timologio.val() === 'Y';
8           $('#billing_timologio_field label > .optional').hide();  
9            if (timologio) {
10				my_callback()
11                $('.timologio-hide').slideDown('fast');
12            $('#billing_vat_field label > .optional').remove();
13            $('#billing_vat_field').find('abbr').remove(); 
14            $('#billing_vat_field'+' label').append(required);
15            $('#billing_irs_field label > .optional').remove();
16            $('#billing_irs_field').find('abbr').remove(); 
17            $('#billing_irs_field'+' label').append(required);
18            $('#billing_store_field label > .optional').remove();
19            $('#billing_store_field').find('abbr').remove(); 
20            $('#billing_store_field'+' label').append(required);
21            } else {
22                $('#billing_timologio_field label > .optional').show();
23            
24				my_callback()
25                $('.timologio-hide').slideUp('fast');
26            }
27        }
28
29        $timologio.change(checkTimologioFieldsVisibility);
30
31        checkTimologioFieldsVisibility();
32		
33	function my_callback() {
34        jQuery('body').trigger('update_checkout');
35    }
36		
37		
38    })
39})(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.