all
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
(function() {
|
||||
var u = navigator.userAgent,
|
||||
w = window.innerWidth;
|
||||
if (!u.match(/AppleWebKit.*Mobile.*/) || u.indexOf('iPad') > -1) {
|
||||
var sw = w * 576 / 1920;
|
||||
window.innerWidth = sw < 375 ? 375 : sw;
|
||||
window.onload = function() {
|
||||
window.innerWidth = w;
|
||||
}
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user