Skip to content

Commit

Permalink
fix(core): properly remove isolation script from DOM (#10703)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Aug 21, 2024
1 parent 762cf31 commit 9bcff3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-android-remove-current-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---

Properly remove isolation script on Android.
4 changes: 2 additions & 2 deletions core/tauri-utils/src/pattern/isolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@
}

setTimeout(waitUntilReady, readyIntervalMs)

document.currentScript.remove()
})()

document.currentScript?.remove()

0 comments on commit 9bcff3c

Please sign in to comment.