Let users add a verified nostr pubkey to their account #101
@ -20,7 +20,9 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
if (window.nostr) {
|
||||
this.setPubkeyTarget.disabled = false
|
||||
if (this.hasSetPubkeyTarget) {
|
||||
this.setPubkeyTarget.disabled = false
|
||||
}
|
||||
} else {
|
||||
this.noExtensionTarget.classList.remove("hidden")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user