Skip to content

Commit

Permalink
Fix - mobile layout on some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Azmoria committed Oct 13, 2023
1 parent 8006254 commit 4e1e5d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $(function() {
console.log("startup calling init_splash");
window.STARTING = true; // TODO: clean up how this gets set to false
init_loading_overlay_beholder();
$('meta[name="viewport"]').attr('content', 'width=device-width, initial-scale=1.0, user-scalable=no')
window.addEventListener("scroll", function(event) { // ddb has an scroll event listener on the character sheet where they add/remove classes and throttle the sheet scroll causing right click drag of the map to not be smooth
event.stopImmediatePropagation();
if($('#projector_toggle.enabled > [class*="is-active"]').length>0){
Expand Down

0 comments on commit 4e1e5d1

Please sign in to comment.