mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
review fixes
This commit is contained in:
1 parent
d071e8c429
commit
e11f4bddbe
40 files changed
+299
-192
No files matched your search
@@ -50,8 +50,11 @@ export function nativeIcon (name) {
|
||||
}
|
||||
|
||||
const handlers = window.webkit?.messageHandlers
|
||||
const isNativeLoaded = window.isNativeLoaded
|
||||
|
||||
if (handlers?.native && window === window.top && !isNativeLoaded) {
|
||||
window.isNativeLoaded = true
|
||||
|
||||
if (handlers?.native && window === window.top) {
|
||||
handlers.native.postMessage({ type: 'reset' })
|
||||
|
||||
const reportPathConfiguration = () => {
|
||||
@@ -150,7 +153,7 @@ if (handlers?.native && window === window.top) {
|
||||
})
|
||||
}
|
||||
|
||||
if (handlers?.native && window.Turbo) {
|
||||
if (handlers?.native && window.Turbo && !isNativeLoaded) {
|
||||
const staleSnapshots = new Set()
|
||||
let isRestoring = false
|
||||
|
||||
|
||||
Reference in new issue
Block a user