Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
134 changed files with 7494 additions and 23091 deletions
Showing only changes of commit 3b90e2e74e - Show all commits

View File

@ -25,7 +25,7 @@ class Modal {
}
}
class Search {
class SearchBar {
constructor() {
this.box = document.querySelector('nav.mobile-only');
@ -50,7 +50,7 @@ class Search {
}
document.addEventListener('DOMContentLoaded', () => {
mobileSearch = new Search();
mobileSearch = new SearchBar();
bottomHeightThreshold = document.documentElement.scrollHeight - 30;
sections = document.querySelectorAll('section');

View File

@ -23,6 +23,9 @@ class Sidebar {
createCollapsableSections() {
let toc = this.element.querySelector('ul');
if (!toc) {
return
}
let allReferences = toc.querySelectorAll('a.reference.internal:not([href="#"])');
for (let ref of allReferences) {