PageSourceSearch

https://oabrj.org.br/sites/all/themes/twenty_two/assets/js/scripts.js?tm71h2

js oabrj.org.br collected 2026-10-02 05:10:28 UTC 1,981 bytes, 59 lines download raw bytes

1
2jQuery(document).ready(function(){
3
4    jQuery('.search-form-display').submit(function(e){
5
6      var text = jQuery('.search-form-display').find('input[type=text]').val();
7
8      jQuery('.search-form-real .search-form').find('.form-item input[type=text]').val(text);
9      jQuery('.search-form-real .search-form').submit();
10
11      return false;
12
13    });
14    
15    jQuery('body').on('click', '.open-remote-modal', function(e){
16
17        var modal_id = '#remote-modal';
18        if ( jQuery('#remote-modal').is('.in') ) {
19            modal_id = '#remote-modal-2';
20        }
21
22        var url = jQuery(this).attr('href');
23        
24        jQuery(modal_id).modal('show');
25        jQuery(modal_id+' .modal-content').html('<div class="panel no-margin-bottom"><div class="panel-body text-center" style="min-height: 200px; line-height: 200px;"><div class="spinner-border" role="status"><span class="visually-hidden">Carregando...</span></div></div></div>');
26
27        jQuery.get( url, function(response) {
28            jQuery(modal_id+' .modal-content').html( '<div class="modal-body p-0">' + response + '</div>' ) ;
29            jQuery(modal_id+' .modal-content').prepend('<button type="button" class="btn-close position-absolute top-0 end-0 p-3" style="z-index:1;" data-bs-dismiss="modal" aria-label="Close"></button>' ) ;
30        });
31
32        // $(modal_id+' .modal-content').load(url);
33
34        jQuery(modal_id+' .modal-dialog').removeClass('modal-lg');
35        jQuery(modal_id+' .modal-dialog').removeClass('modal-sm');
36        jQuery(modal_id+' .modal-dialog').removeClass('modal-xs');
37        
38        if ( jQuery(this).data('modal-size') )
39            jQuery(modal_id+' .modal-dialog').addClass(jQuery(this).data('modal-size')) ;
40
41        e.preventDefault();
42        
43    });
44
45
46
47	var swiper = new Swiper('.swiper_gallery', {
48		slidesPerView: 3.5,
49		spaceBetween: 20,
50		loop: true,
51		centeredSlides: true,
52		pagination: {
53			el: ".swiper-pagination",
54			clickable: true
55		}
56	});	
57	
58}) ;
59

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.