fixed translation switch bugs
This commit is contained in:
@@ -173,7 +173,7 @@ var _Dot = {
|
||||
vn.dom.querySelector(`nav.links>div[uid="${id}"]`).classList.add('highlight');
|
||||
}else{
|
||||
// remove all hilight class
|
||||
for (link of vn.dom.querySelectorAll('nav.links>div.dot')) {
|
||||
for (let link of vn.dom.querySelectorAll('nav.links>div.dot')) {
|
||||
link.classList.remove('highlight');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user