7 lines
225 B
TypeScript
Raw Normal View History

2018-04-02 05:34:16 +00:00
import AnimeNotifier from "../AnimeNotifier"
2017-10-17 09:27:15 +00:00
// Toggle sidebar
2019-04-22 09:06:50 +00:00
export function toggleSidebar(_: AnimeNotifier) {
2019-04-22 06:59:08 +00:00
let sidebar = document.getElementById("sidebar") as HTMLElement
sidebar.classList.toggle("sidebar-visible")
2017-10-17 09:27:15 +00:00
}