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

This commit is contained in:
Revertron committed 2021-02-22 14:55:23 +01:00
1 parent 803b70fc25
commit df19021c62
3 files changed
+51 -8

No files matched your search

+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"