Skip to content

Commit 9bcff3c

Browse files
authored
fix(core): properly remove isolation script from DOM (#10703)
1 parent 762cf31 commit 9bcff3c

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-utils": patch:bug
3+
---
4+
5+
Properly remove isolation script on Android.

‎core/tauri-utils/src/pattern/isolation.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@
149149
}
150150

151151
setTimeout(waitUntilReady, readyIntervalMs)
152-
153-
document.currentScript.remove()
154152
})()
153+
154+
document.currentScript?.remove()

0 commit comments

Comments
 (0)