PageSourceSearch

https://sig.crq3.org.br/sig/vendor/common/common.js

js crq3.org.br collected 2026-10-06 04:50:19 UTC 997 bytes, 31 lines download raw bytes

1// Tooltip and Popover
2(function($) {
3	$('[data-toggle="tooltip"]').tooltip();
4	$('[data-toggle="popover"]').popover();
5})(jQuery);
6
7// Tabs
8$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
9	$(this).parents('.nav-tabs').find('.active').removeClass('active');
10	$(this).parents('.nav-pills').find('.active').removeClass('active');
11	$(this).addClass('active').parent().addClass('active');
12});
13
14// Bootstrap Datepicker
15if (typeof($.fn.datepicker) != 'undefined') {
16	$.fn.bootstrapDP = $.fn.datepicker.noConflict();
17}
18
19// Simple Sticky Header
20if( $('html.simple-sticky-header-enabled').get(0) ) {
21	var $window = $(window),
22		distance = ( typeof $('html').data('sticky-header-distance') != 'undefined' ? $('html').data('sticky-header-distance') : 100 );
23
24	$window.on('scroll', function(){
25		if( $window.scrollTop() > distance ) {
26			$('html').addClass('simple-sticky-header-active');
27		} else {
28			$('html').removeClass('simple-sticky-header-active');
29		}
30	});
31}

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.