Skip to content
Snippets Groups Projects
Commit cc505f4d authored by Nils Schneider's avatar Nils Schneider
Browse files

infobox: ensure sidebar box is visible on create

parent e834e2ab
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ define(["infobox/link", "infobox/node"], function (Link, Node) {
function create() {
destroy()
sidebar.ensureVisible()
sidebar.hide()
el = document.createElement("div")
......
......@@ -30,6 +30,10 @@ define([], function () {
d.render(container)
}
self.ensureVisible = function () {
sidebar.classList.remove("hidden")
}
self.hide = function () {
container.classList.add("hidden")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment