commit 21fcd1267b558e84c7e019c3013b2aa827f38b79
parent 9efd9eec8318ab4383911b4cfc9d5e59be3b0540
Author: lash <dev@holbrook.no>
Date: Tue, 20 Sep 2022 15:34:37 +0000
Remove superfluous logging
Diffstat:
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/help.js b/help.js
@@ -48,11 +48,9 @@ function help_identify(helpstate) {
async function helpFor(helpstate, state, k) {
- console.log('helpstate', helpstate);
let help = []
let fn = window['help_' + k];
- console.log('fn is ', fn);
if (fn === undefined) {
console.warn("no help found for '" + k + "'");
} else {
diff --git a/index.html b/index.html
@@ -525,7 +525,6 @@ h1 {
},
get helpContents() {
- console.log('helpcount', this.help_crsr, this.help_count);
if (this.help_crsr < 0) {
return [];
}
@@ -547,7 +546,6 @@ h1 {
if (this.help_cap > 0) {
c %= this.help_cap;
}
- console.log('contents ', this.help_contents, contents, this.help_crsr, c);
is_old = i < new_threshold;
v = [this.help_contents[c], is_old ? 'old' : 'new'];
contents.push(v); //this.help_contents[c]);
@@ -581,7 +579,7 @@ h1 {
x-bind:placeholder='passphraseStatus'
@passfail.window='passphrase_status = "wrong_passphrase"; passphrase_cache = "";';
@messagestatechange.window='if (checkState(STATE["LOCAL_KEY"])) { passphrase_default_status = "please unlock key"; };'
- @rst.window='console.log("passphrasestate"); passphrase_status = "please create new key";'
+ @rst.window='passphrase_status = "please create new key";'
>
<button x-data="{
go_label: 'go',