Hacky fix UI jump
This commit is contained in:
parent
de704fc250
commit
c8d34b96d4
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ $(function () {
|
|||
if (typeof window.orientation !== 'undefined') {
|
||||
$(window).resize(function () {
|
||||
var width = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
|
||||
$('#viewport').attr('content', width > 480 ? 'initial-scale=1' : 'width=480');
|
||||
// $('#viewport').attr('content', width > 480 ? 'initial-scale=1' : 'width=480');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue