Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Recoskie committed Jan 6, 2024
1 parent 35fc178 commit 394ecc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,7 @@

if( mobile )
{
if( vPort ){ w = screen.width * 2; h = screen.height * 2; }
if(window.matchMedia("(orientation: portrait)").matches && h < w) { var t = w; w = h; h = t; }
}

Expand Down

0 comments on commit 394ecc7

Please sign in to comment.