showing results for - "check for mobile device"
Arrie
05 Apr 2018
1const isMobile = window.matchMedia("only screen and (max-width: 760px)").matches;if (isMobile) {  //...}