PageSourceSearch

https://booknaija.ng/wp-content/plugins/traveler-export/assets/js/traveler-export.js

js booknaija.ng collected 2026-10-03 02:54:54 UTC 1,652 bytes, 38 lines download raw bytes

1(function($){
2    'use strict';
3    $(document).ready(function(){
4        $('.date-history-swapper').each(function(){
5            var parent = $(this),
6                check_in_input = $('.check-in-input', parent),
7                check_out_input = $('.check-out-input', parent),
8                check_in_out = $('.check-in-out', parent),
9                check_in_render = $('.check-in-render', parent),
10                check_out_render = $('.check-out-render', parent);
11                var options = {
12                    singleDatePicker: false,
13                    sameDate: true,
14                    sameDateMulti: true,
15                    autoApply: true,
16                    disabledPast: false,
17                    dateFormat: 'DD/MM/YYYY',
18                    customClass: 'stt-export-date',
19                    widthSingle: 500,
20                    onlyShowCurrentMonth: true,
21                };
22                check_in_out.daterangepicker(options,function (start, end, label) {
23                    check_in_input.val(start.format('DD/MM/YYYY'));
24                    check_out_input.val(end.format('DD/MM/YYYY'));
25                    check_in_render.html(start.format('DD/MM/YY'));
26                    check_out_render.html(end.format('DD/MM/YYYY'));
27                        
28                });
29                $('.check-in-wrapper', parent).click(function(){
30                    check_in_out.trigger('click');
31                });
32                
33                  
34        });
35        $('.form-select-2','#stt-history-popup').select2({ dropdownCssClass : "stt-status-select" });  
36    });
37
38})(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.