PageSourceSearch

https://sanofuertefeliz.com/wp-content/themes/lovecraft/js/doubletaptogo.js?ver=1

js sanofuertefeliz.com collected 2026-10-04 13:37:09 UTC 941 bytes, 44 lines download raw bytes

1/*
2	By Osvaldas Valutis, www.osvaldas.info
3	Available for use under the MIT License
4*/
5
6;(function( $, window, document, undefined )
7{
8	$.fn.doubleTapToGo = function( params )
9	{
10		if ( ! ( 'ontouchstart' in window ) && ! navigator.msMaxTouchPoints && ! navigator.userAgent.toLowerCase().match( /windows phone os 7/i ) ) { 
11			return false;
12		}
13
14		this.each( function()
15		{
16			var curItem = false;
17
18			$( this ).on( 'click', function( e )
19			{
20				var item = $( this );
21				if( item[ 0 ] != curItem[ 0 ] )
22				{
23					e.preventDefault();
24					curItem = item;
25				}
26			});
27
28			$( document ).on( 'click touchstart MSPointerDown', function( e )
29			{
30				var resetItem = true,
31					parents	  = $( e.target ).parents();
32
33				for( var i = 0; i < parents.length; i++ )
34					if( parents[ i ] == curItem[ 0 ] )
35						resetItem = false;
36
37				if ( resetItem ) {
38					curItem = false;
39				}
40			});
41		});
42		return this;
43	};
44})( jQuery, window, document );

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.