revert isFirefox

This commit is contained in:
starknt
2024-01-05 17:30:46 +08:00
parent 08447c83cd
commit f51c71b5c3
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ import { SVG_ICONS } from '~/utils/svgIcons'
import { injectCSS } from '~/utils/main'
import { settings } from '~/logic'
import { runWhenIdle } from '~/utils/lazyLoad'
import { isFirefox } from '~/utils/env'
const isFirefox: boolean = /Firefox/i.test(navigator.userAgent)
// Fix `OverlayScrollbars` not working in Firefox
if (isFirefox) {