From 1d79d8be5619a4c51741dffd8d63d2db75a618f1 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 27 Aug 2018 21:51:56 +0200 Subject: [PATCH] Fix source automatic scroll --- src/librustdoc/html/static/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 88c25567d29..51ed6267829 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -242,6 +242,7 @@ } } + highlightSourceLines(null); window.onhashchange = highlightSourceLines; // Gets the human-readable string for the virtual-key code of the