infobox: ensure sidebar box is visible on create

This commit is contained in:
Nils Schneider 2015-07-06 22:30:45 +02:00
commit cc505f4d4a
2 changed files with 5 additions and 0 deletions

View file

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