infobox hides sidebar

This commit is contained in:
Nils Schneider 2015-07-06 22:27:16 +02:00
commit e834e2ab94
3 changed files with 14 additions and 0 deletions

View file

@ -30,6 +30,14 @@ define([], function () {
d.render(container)
}
self.hide = function () {
container.classList.add("hidden")
}
self.reveal = function () {
container.classList.remove("hidden")
}
self.container = sidebar
return self