ildi-wp/dev/js/main.js

5 lines
147 B
JavaScript
Raw Normal View History

2018-04-24 20:41:34 -05:00
function isTouchDevice() {
return 'ontouchstart' in window || navigator.maxTouchPoints;
}
if(isTouchDevice()){ $('body').addClass('is-touch'); }