This commit is contained in:
Val Packett 2024-07-26 04:32:39 -03:00
parent 3fa66ed87d
commit 56e38206e8
2 changed files with 7 additions and 7 deletions

View file

@ -1,11 +1,9 @@
{ {
"fmt": { "fmt": {
"options": { "useTabs": true,
"useTabs": true, "lineWidth": 120,
"lineWidth": 120, "singleQuote": true,
"singleQuote": true, "proseWrap": "preserve"
"proseWrap": "preserve"
}
}, },
"unstable": ["broadcast-channel"], "unstable": ["broadcast-channel"],
"imports": { "imports": {

View file

@ -465,7 +465,9 @@ Formatted with `deno fmt`.
} else tid._is_skinny = true; // Lazy-load separate body } else tid._is_skinny = true; // Lazy-load separate body
} }
toAdd.push(tid); toAdd.push(tid);
if (cur % 100 == 0) this.modal.setFeedback(`<p>Decrypting tiddlers… (${Math.round(100*cur/toDecrypt.length)}%)</p>`); if (cur % 100 == 0) {
this.modal.setFeedback(`<p>Decrypting tiddlers… (${Math.round(100 * cur / toDecrypt.length)}%)</p>`);
}
cur += 1; cur += 1;
} catch (e) { } catch (e) {
this.logger.log('Title decryption failed for:', await b64enc(thash)); this.logger.log('Title decryption failed for:', await b64enc(thash));