fix syntax error in index.es6

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen 2024-03-20 17:30:46 +08:00
parent 20e33e9c38
commit 5c24b04c65
No known key found for this signature in database
GPG Key ID: 6EE389C0F18AF774

View File

@ -80,7 +80,7 @@ const vmMirList = new Vue({
},
refreshMirrorList() {
// do nothing if the tab is not visible
if (document.hidden ?? false) {
if (document.hidden === true) {
return;
}
const self = this;