mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 05:43:41 -05:00
fix
This commit is contained in:
parent
cb22ef5c23
commit
2388c1a1ce
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@
|
||||||
const questions = document.querySelectorAll('.question');
|
const questions = document.querySelectorAll('.question');
|
||||||
const count = questions.length;
|
const count = questions.length;
|
||||||
document.getElementById('question-count-inbox').textContent = count;
|
document.getElementById('question-count-inbox').textContent = count;
|
||||||
document.title = `Inbox (${count}) | {{ const.appName }}`;
|
document.title = `Inbox (${count}) | {{ const.appName }}` ? count > 0 : "Inbox | {{ const.appName }}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue