don't update the tally when the dialog isn't shown
This commit is contained in:
parent
5941dd4338
commit
a6e2cf47ed
|
@ -791,6 +791,7 @@ onDOMready().then(() => {
|
|||
|
||||
|
||||
function showTally(num, numApplies) {
|
||||
if (!state.tally) return;
|
||||
if (num === undefined) {
|
||||
num = 0;
|
||||
for (const cm of state.editors) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user