Skip to content

Commit

Permalink
Fix source automatic scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 27, 2018
1 parent 8785e34 commit 1d79d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/main.js
Expand Up @@ -242,6 +242,7 @@
}
}

highlightSourceLines(null);
window.onhashchange = highlightSourceLines;

// Gets the human-readable string for the virtual-key code of the
Expand Down

0 comments on commit 1d79d8b

Please sign in to comment.