Skip to content

Commit 56dbb3e

Browse files
Keep displaying good information when query is made
1 parent 2f581cf commit 56dbb3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@
884884
elems[0].onclick = function() { printTab(0); };
885885
elems[1].onclick = function() { printTab(1); };
886886
elems[2].onclick = function() { printTab(2); };
887+
printTab(currentTab);
887888
}
888889

889890
function search(e) {

0 commit comments

Comments
 (0)