bug fix
This commit is contained in:
parent
3b3bee50e4
commit
0b9321b01d
@ -2491,6 +2491,7 @@
|
|||||||
const mobileQuery = window.matchMedia('(max-width: 40rem)')
|
const mobileQuery = window.matchMedia('(max-width: 40rem)')
|
||||||
function handleMobileChange(e) {
|
function handleMobileChange(e) {
|
||||||
floGlobals.isMobileView = e.matches
|
floGlobals.isMobileView = e.matches
|
||||||
|
routeTo(window.location.hash)
|
||||||
}
|
}
|
||||||
mobileQuery.addEventListener('change', handleMobileChange)
|
mobileQuery.addEventListener('change', handleMobileChange)
|
||||||
handleMobileChange(mobileQuery)
|
handleMobileChange(mobileQuery)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user