PageSourceSearch

https://abone.lv/js/design.js?1797

js abone.lv collected 2026-10-02 13:40:35 UTC 1,797 bytes, 62 lines download raw bytes

1function initializeCheckboxRadiobuttonStyle() {
2    $('input').iCheck({
3        checkboxClass: 'icheckbox_square-custom',
4        radioClass: 'iradio_square-custom'
5    });
6}
7
8$(document).ready(function(){   
9
10    initializeCheckboxRadiobuttonStyle();
11
12    // IE8+ support for placeholders ! If you are submitting form with ajax, remember to clear the value if user hasn't put anything
13    $('input, textarea').placeholder();
14
15    // Selects with this class are styled
16    $(".selectric,.child-selectric select").selectric({
17        disableOnMobile: false
18    });
19
20    // Datepicker
21    $(".datepicker").datepicker();
22
23    // Main menu accordeon
24    $(".main-menu .title").on("click", function(e){
25        // if there is submenu
26        if ( $(this).next(".submenu").length > 0 ) {
27
28            e.preventDefault();
29
30            if ( $(this).hasClass("active") ) {
31                $(this).removeClass("active");
32                $(this).next().slideUp(); 
33            } else {
34                $(this).addClass("active");
35                $(this).next().slideDown();                
36            }
37        }
38    });
39
40    // Tools wrapper accordeon
41    $(".tools-wrapper .title").on("click", function(e){
42        // if there is submenu
43        if ( $(this).next().length > 0 ) {
44
45            e.preventDefault();
46
47            if ( $(this).hasClass("active") ) {
48                $(this).removeClass("active");
49                $(this).next().slideUp(); 
50            } else {
51                $(this).addClass("active");
52                $(this).next().slideDown();                
53            }
54        }
55    });
56
57    // Adjust relative-wrapper height in tables
58    $(window).load(function(){
59        $(".relative-wrapper").height( $(".relative-wrapper").parent().height() ).addClass("resized");
60    });
61
62});

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.