PageSourceSearch

https://rpgers.fr/wp-content/themes/hitchcock/assets/js/doubletaptogo.js?ver=2.2.1

js rpgers.fr collected 2026-09-25 03:48:43 UTC 926 bytes, 45 lines download raw bytes

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