From 66c7c04c1707c83432fd84efd444a7a28e13301f Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 21 Mar 2015 16:56:39 +0100 Subject: [PATCH] fix scrollIntoView on mobile devices --- history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.js b/history.js index 00de50c..0d68c52 100644 --- a/history.js +++ b/history.js @@ -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")