Source code of Leftypol imageboard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini|Blackberry|PlayBook|Windows Phone|Tablet PC|Windows CE|IEMobile/i)) {
|
|
|
|
$('html').addClass("mobile-style");
|
|
|
|
device_type = "mobile";
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$('html').addClass("desktop-style");
|
|
|
|
device_type = "desktop";
|
|
|
|
}
|