PageSourceSearch

https://thenewly.ca/wp-content/themes/uncode/library/js/tapHover.js?ver=493454089

js thenewly.ca collected 2026-10-04 11:19:04 UTC 650 bytes, 34 lines download raw bytes

1(function($) {
2	"use strict";
3
4	UNCODE.tapHover = function() {
5
6	var isTouch = (
7		'ontouchstart' in window ||
8		navigator.maxTouchPoints > 0 ||
9		navigator.msMaxTouchPoints > 0
10	);
11
12	if (isTouch) {
13		var $el = $('.tmb:not(.tmb-no-double-tap)').find('.t-entry-visual-cont > a, .drop-hover-link'), 
14			elClass = "hover";
15
16		$(window).on('click', function() {
17			$el.removeClass(elClass);
18		});
19
20		$el.on('click', function(e) {
21			e.stopPropagation();
22			var link = $(this);
23			if ( ! link.hasClass(elClass)) {
24				e.preventDefault();
25				link.addClass("hover");
26				$el.not(this).removeClass(elClass);
27				return false;
28			}
29		});
30	}
31};
32
33
34})(jQuery);

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.