# awsm-team/1.3.3/js/team.js

AWSM Team – Team Showcase Plugin, version 1.3.3. 20 lines.

- Page: https://pluginprobe.com/plugins/awsm-team/1.3.3/code/js/team.js
- Raw: https://pluginprobe.com/plugins/awsm-team/1.3.3/raw/js/team.js
- Modified: 2026-08-05T05:32:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/awsm-team/1.3.3/code/js/team.js#L10-L20`.

```javascript
(function($) {
    function is_touch_device() {
	 return (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
	}
	 
	if (is_touch_device()) {
	 $('.awsm-grid > .awsm-grid-card > figure').on('touchend', function(e) {
           if($(e.target).is('.awsm-grid > .awsm-grid-card > figure a') || $(e.target).is('.awsm-grid > .awsm-grid-card > figure a *')) return;
            e.preventDefault();
            $(this).toggleClass('cs-hover');
        });
	}
	if (!is_touch_device()) {
		$('.awsm-grid-wrapper').addClass('no-touchevents');
	}
	if (window.navigator.userAgent.indexOf("Windows NT 10.0")!= -1){
		$('.awsm-grid-wrapper').addClass('no-touchevents');
	}
})(jQuery);
//# sourceMappingURL=team.js.map
```
