infobox hides sidebar
This commit is contained in:
parent
5334a4b9a7
commit
e834e2ab94
3 changed files with 14 additions and 0 deletions
lib/infobox
|
@ -7,11 +7,13 @@ define(["infobox/link", "infobox/node"], function (Link, Node) {
|
|||
if (el && el.parentNode) {
|
||||
el.parentNode.removeChild(el)
|
||||
el = undefined
|
||||
sidebar.reveal()
|
||||
}
|
||||
}
|
||||
|
||||
function create() {
|
||||
destroy()
|
||||
sidebar.hide()
|
||||
|
||||
el = document.createElement("div")
|
||||
sidebar.container.insertBefore(el, sidebar.container.firstChild)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue