working proper when disabled
This commit is contained in:
parent
ff707c7a50
commit
2942c3036b
3 changed files with 15 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
window.onload = function () {
|
||||
if (!window.nostr) {
|
||||
console.log('Nostr extension not present');
|
||||
document.querySelector('#nostr-signup').disabled = true;
|
||||
document.querySelector('#nostr-signup-button').disabled = true;
|
||||
document.querySelector('#no-extension-nudges').style.display = 'block';
|
||||
} else {
|
||||
console.log('Nostr extension present');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue