diff --git a/deno.json b/deno.json index 3807aaa..9e289a4 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,9 @@ { "fmt": { - "options": { - "useTabs": true, - "lineWidth": 120, - "singleQuote": true, - "proseWrap": "preserve" - } + "useTabs": true, + "lineWidth": 120, + "singleQuote": true, + "proseWrap": "preserve" }, "unstable": ["broadcast-channel"], "imports": { diff --git a/plugins/tiddlypwa/main.js b/plugins/tiddlypwa/main.js index 2a508fe..d430278 100644 --- a/plugins/tiddlypwa/main.js +++ b/plugins/tiddlypwa/main.js @@ -465,7 +465,9 @@ Formatted with `deno fmt`. } else tid._is_skinny = true; // Lazy-load separate body } toAdd.push(tid); - if (cur % 100 == 0) this.modal.setFeedback(`

Decrypting tiddlers… (${Math.round(100*cur/toDecrypt.length)}%)

`); + if (cur % 100 == 0) { + this.modal.setFeedback(`

Decrypting tiddlers… (${Math.round(100 * cur / toDecrypt.length)}%)

`); + } cur += 1; } catch (e) { this.logger.log('Title decryption failed for:', await b64enc(thash));