Copilot nitpick

This commit is contained in:
Emile Bangma 2025-02-01 17:57:17 +00:00
parent 849e8accfc
commit 9786ead130

View File

@ -38,7 +38,7 @@ function toggleExplorer(this: HTMLElement) {
// Prevent scroll under // Prevent scroll under
if (document.querySelector("#mobile-explorer")) { if (document.querySelector("#mobile-explorer")) {
// Disable scrolling one the page when the explorer is opened on mobile // Disable scrolling on the page when the explorer is opened on mobile
const bodySelector = document.querySelector("#quartz-body") const bodySelector = document.querySelector("#quartz-body")
if (bodySelector) bodySelector.classList.toggle("lock-scroll") if (bodySelector) bodySelector.classList.toggle("lock-scroll")
} }