Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Refactor if/else (#276)
Leendert de Borst4441c543cccf
diff --git a/src/AliasVault.Client/wwwroot/index.template.html b/src/AliasVault.Client/wwwroot/index.template.htmlindex 82382f51e..345d3b5ed 100644--- a/src/AliasVault.Client/wwwroot/index.template.html+++ b/src/AliasVault.Client/wwwroot/index.template.html@@ -101,12 +101,10 @@loadingScreen.style.display = 'none';appElement.style.removeProperty('visibility');clearInterval(intervalId);- } else {- if (elapsedTime % 1000 < checkInterval) {- if (!('WebAssembly' in window)) {- showError("AliasVault requires WebAssembly, which this browser does not support. Please use a modern browser that supports WebAssembly.");- clearInterval(intervalId);- }+ } else if (elapsedTime % 1000 < checkInterval) {+ if (!('WebAssembly' in window)) {+ showError("AliasVault requires WebAssembly, which this browser does not support. Please use a modern browser that supports WebAssembly.");+ clearInterval(intervalId);}}};