Skip to content

Commit

Permalink
Fix mobile scroll when logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Dec 14, 2023
1 parent fc4db5c commit cf2ea5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/slidenav.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
return false;
}

if (context === document) {
if (context === document && document.readyState !== "loading") {
handlersAttached = setHandlers();

// On resize event set click handler to dismiss the mobile floating menu
Expand Down

0 comments on commit cf2ea5c

Please sign in to comment.