PageSourceSearch

https://www.dermatologia-praktyczna.pl/js/main.js

js dermatologia-praktyczna.pl collected 2026-10-02 22:25:35 UTC 978 bytes, 40 lines download raw bytes

1// MAIN JS
2
3$(function () { 
4
5	// Tooltip
6	$("[data-toggle='tooltip']").tooltip(); 
7
8	// Add COLLAPSE class active
9	$(".panel-group > .panel .accordion-toggle").removeClass('active');
10	
11	$(".panel-group .panel").find('.in').prev('.panel-heading').find('.accordion-toggle').addClass('active').end(); 
12
13	$('.panel-group .accordion-toggle').click(function(){
14		   console.log('clicked');
15		   var $this = $(this);
16		   if($this.hasClass('active')) return false;
17		   $this.parents('.panel-group').find('.accordion-toggle').removeClass('active');
18		   $this.addClass('active');
19	});
20
21	$('.btn_subscribe').click(function(){
22		email = $(this).prev().val();
23		if (email.search('@') == -1) {
24			dialog.message(lang.email_error);
25			return false;
26		}
27		
28	});
29
30	// ADD BODY IMAGES 
31	var body = $('body');
32	if(body.data('src') != 0) {
33		body.addClass('body-bg');
34		body.css('background-image', 'url(' + body.data('src') + ')');
35	}
36        
37        
38        $('.carousel').carousel();
39
40});

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.