aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/resources/dokka/scripts')
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/scripts.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/scripts/scripts.js b/plugins/base/src/main/resources/dokka/scripts/scripts.js
index c2e29b9f..85dfd86f 100644
--- a/plugins/base/src/main/resources/dokka/scripts/scripts.js
+++ b/plugins/base/src/main/resources/dokka/scripts/scripts.js
@@ -8,4 +8,10 @@ document.getElementById("navigationFilter").oninput = function (e) {
part.classList.add("filtered");
}
}
+}
+
+window.addEventListener("DOMContentLoaded", () => {
+ document.getElementById("leftToggler").onclick = function() {
+ document.getElementById("leftColumn").classList.toggle("open");
+ }
} \ No newline at end of file