damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

commit 9230a11a72c0e4404230a75d8b2bb97f5c8918b4
parent 9fb8be6afd4c2146504e99a11c6a09581ababd37
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 18 Nov 2022 07:54:02 -0800

web: add startup delay for nos2x plugins

Diffstat:
Mweb/index.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/index.html b/web/index.html @@ -12,7 +12,7 @@ <script defer src="js/noble-secp256k1.js?v=1"></script> <script defer src="js/bech32.js?v=1"></script> <script defer src="js/nostr.js?v=6"></script> - <script defer src="js/damus.js?v=88"></script> + <script defer src="js/damus.js?v=89"></script> </head> <body> <script> @@ -21,7 +21,7 @@ console.log("window.nostr", window.nostr) addEventListener('DOMContentLoaded', (ev) => { // TODO fix race condition where profile doesn't load fast enough. - damus_web_init(); + setTimeout(damus_web_init, 500); init_message_textareas(); }); </script>