PageSourceSearch

https://www.fuerteventuraplayas.com/wp-content/themes/astra-child-…/js/custom.js?ver=1790947345

js fuerteventuraplayas.com collected 2026-10-02 13:23:09 UTC 1,487 bytes, 46 lines download raw bytes

1jQuery(document).ready(function($) {
2	$('.single-webcams iframe').parent().parent().addClass('iframe_main');
3	var wait = 2000;
4	setTimeout(function() {
5			$('.elementor-tab-title').removeClass('elementor-active');
6			$('.elementor-tab-content').css('display', 'none');
7	}, wait);
8	
9	let gallery = $('.elementor-image-carousel.swiper-wrapper');
10	let galleryFirstImg = gallery.find("img").first();
11	let galleryImgs = gallery.find("img");
12	let mainSlideHeight;
13
14	if( gallery.length > 0 && galleryImgs.length > 0 ){
15			let intervalCount = 0;
16			
17			if( gallery.height() !== galleryFirstImg.height() ){
18					const myInterval = setInterval(correctSliderHeight, 1000);
19			
20					function stopInterval(myInterval) {
21						clearInterval(myInterval);
22					}
23
24					function correctSliderHeight() {
25							if( intervalCount === 20 || ( gallery.height() + 10 >  galleryFirstImg.height() && gallery.height() - 10 <  galleryFirstImg.height() ) ) {
26								stopInterval(myInterval);
27							}
28			
29							gallery.css('display','inline-flex');
30							setTimeout(function(){
31									gallery.css('display','');
32							},300);
33
34							if( galleryFirstImg.height() < gallery.height() - 10 ){
35								mainSlideHeight = parseInt(galleryFirstImg.height());
36								for (const key in galleryImgs) {
37									if( key == galleryImgs.length ) break;
38									$(galleryImgs[key]).css('height',mainSlideHeight);
39								}
40							}
41
42							intervalCount++;
43					}
44			}
45	}
46});

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.