Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Dec 19, 2024
1 parent 92771ce commit 4cdda92
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@ async function injectIcon() {
}

export function injectFloatingButton() {
// Check if the current window is an iframe
if (window.top !== window.self) {
return
}
(globalThis as unknown as {
$onekey: {
$private: {
Expand Down

0 comments on commit 4cdda92

Please sign in to comment.