8 lines
228 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-11-17 09:25:14 +00:00
const sidebar = document.getElementById("sidebar") as HTMLElement
2019-04-22 06:59:08 +00:00
sidebar.classList.toggle("sidebar-visible")
2019-11-17 09:44:30 +00:00
}