PageSourceSearch

https://www.katholische-kirche-steiermark.at/swstatic-260930033211…/plugins/doubleTapToGo/doubleTapToGo.js

js katholische-kirche-steiermark.at collected 2026-10-02 11:23:41 UTC 1,015 bytes, 52 lines download raw bytes

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