Hacky fix UI jump

This commit is contained in:
cuom1999 2020-07-03 12:20:23 -05:00
parent de704fc250
commit c8d34b96d4

View file

@ -125,7 +125,7 @@ $(function () {
if (typeof window.orientation !== 'undefined') { if (typeof window.orientation !== 'undefined') {
$(window).resize(function () { $(window).resize(function () {
var width = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 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');
}); });
} }