]> git.lizzy.rs Git - rust.git/commitdiff
Fix source automatic scroll
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 27 Aug 2018 19:51:56 +0000 (21:51 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 27 Aug 2018 19:51:56 +0000 (21:51 +0200)
src/librustdoc/html/static/main.js

index 88c25567d2963e7c3f4b5181b92657594a6974b8..51ed62678292662fd4201c4e1ddcf630819c1c88 100644 (file)
         }
     }
 
+    highlightSourceLines(null);
     window.onhashchange = highlightSourceLines;
 
     // Gets the human-readable string for the virtual-key code of the