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