Fixed high CPU usage, duplicate peers from exchange and tab change code.

This commit is contained in:
Revertron
2021-02-22 14:55:23 +01:00
parent 803b70fc25
commit df19021c62
3 changed files with 51 additions and 8 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ function openTab(element, tabName) {
// Get all elements with class="content" and hide them
tabContent = document.getElementsByClassName("content");
for (i = 0; i < tabContent.length; i++) {
tabContent[i].className = "context is-hidden";
tabContent[i].className = "content is-hidden";
}
// Get all elements with class="tablinks" and remove the class "active"