mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-01 08:54:06 +03:00
Fix checking for blank page
This commit is contained in:
parent
f998a2c203
commit
4e9e846e16
@ -1,4 +1,4 @@
|
||||
if (window.location.href == "https://tokenary.io/blank/") { // TODO: check for prefix actually
|
||||
if (window.location.href.startsWith("https://tokenary.io/blank")) {
|
||||
browser.runtime.sendMessage({ subject: "closeTab" });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user