mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-05-18 14:34:23 +02:00
Copilot nitpick
This commit is contained in:
parent
849e8accfc
commit
9786ead130
@ -38,7 +38,7 @@ function toggleExplorer(this: HTMLElement) {
|
||||
|
||||
// Prevent scroll under
|
||||
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")
|
||||
if (bodySelector) bodySelector.classList.toggle("lock-scroll")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user