chore: add back safari support

This commit is contained in:
Hakadao
2025-02-18 14:13:25 +08:00
parent cf551ff5d1
commit b9ba8dc1da
2 changed files with 3 additions and 4 deletions

View File

@@ -47,9 +47,6 @@ const handleThrottledReachBottom = useThrottleFn(() => handleReachBottom.value?.
const handleThrottledBackToTop = useThrottleFn(() => handleBackToTop(), 1000)
const topBarRef = ref()
const reachTop = ref<boolean>(true)
const isSafari = computed(() =>
/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent),
)
const iframeDrawerURL = ref<string>('')
const showIframeDrawer = ref<boolean>(false)
@@ -322,7 +319,6 @@ provide<BewlyAppProvider>('BEWLY_APP', {
<template>
<div
v-if="!isSafari"
id="bewly-wrapper"
ref="mainAppRef"
class="bewly-wrapper"