diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-27 21:51:56 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-27 21:51:56 +0200 |
| commit | 1d79d8be5619a4c51741dffd8d63d2db75a618f1 (patch) | |
| tree | a7a0216309e9c3c63153911334e0fc6673ee98d5 | |
| parent | 8785e348ba6b9d43ffd8ce4b1a59059cbce6334c (diff) | |
| download | rust-1d79d8be5619a4c51741dffd8d63d2db75a618f1.tar.gz rust-1d79d8be5619a4c51741dffd8d63d2db75a618f1.zip | |
Fix source automatic scroll
| -rw-r--r-- | src/librustdoc/html/static/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
