Fixed up some phone rendering issues.
This commit is contained in:
@@ -19,4 +19,8 @@ $(document).ready(function () {
|
||||
window.open( url, target );
|
||||
}
|
||||
});
|
||||
var isPhone = /Mobi|Android|iPhone|iPod/i.test(navigator.userAgent) || window.innerWidth <= 768;
|
||||
if (isPhone) {
|
||||
$("body").addClass("phone");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user