Skip to content

Commit 1d79d8b

Browse files
Fix source automatic scroll
1 parent 8785e34 commit 1d79d8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@
242242
}
243243
}
244244

245+
highlightSourceLines(null);
245246
window.onhashchange = highlightSourceLines;
246247

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

0 commit comments

Comments
 (0)