fix scrollIntoView on mobile devices

This commit is contained in:
Nils Schneider 2015-03-21 16:56:39 +01:00
parent e1b859c1be
commit 66c7c04c17

View File

@ -373,7 +373,7 @@ function showNodeinfo(d) {
destroy()
el.classList.remove("hidden")
el.scrollIntoView(true)
el.scrollIntoView(false)
var closeButton = document.createElement("button")
closeButton.classList.add("close")