Fixed high CPU usage, duplicate peers from exchange and tab change code.
This commit is contained in:
1 parent
803b70fc25
commit
df19021c62
3 files changed
+51
-8
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user