Deleted app.find()

This commit is contained in:
2018-04-02 07:44:11 +02:00
parent 88296da8be
commit ab0c933b3d
9 changed files with 33 additions and 37 deletions

View File

@ -2,5 +2,5 @@ import AnimeNotifier from "../AnimeNotifier"
// Toggle sidebar
export function toggleSidebar(arn: AnimeNotifier) {
arn.app.find("sidebar").classList.toggle("sidebar-visible")
document.getElementById("sidebar").classList.toggle("sidebar-visible")
}