summaryrefslogtreecommitdiff
path: root/js/redirect-to-mobile.js
blob: cae39a91526f511aa3e395a8d0fcb4f8571ff4d5 (plain) (blame)
1
2
3
4
// CHECKS IF USER IS ON MOBILE
if (screen.width < 768) {
    location.href = '/';
}