fix scrollIntoView on mobile devices
This commit is contained in:
parent
e1b859c1be
commit
66c7c04c17
|
@ -373,7 +373,7 @@ function showNodeinfo(d) {
|
||||||
|
|
||||||
destroy()
|
destroy()
|
||||||
el.classList.remove("hidden")
|
el.classList.remove("hidden")
|
||||||
el.scrollIntoView(true)
|
el.scrollIntoView(false)
|
||||||
|
|
||||||
var closeButton = document.createElement("button")
|
var closeButton = document.createElement("button")
|
||||||
closeButton.classList.add("close")
|
closeButton.classList.add("close")
|
||||||
|
|
Loading…
Reference in a new issue