]> git.lizzy.rs Git - rust.git/commitdiff
Keep displaying good information when query is made
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 29 Oct 2017 12:21:18 +0000 (13:21 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 1 Nov 2017 12:41:43 +0000 (13:41 +0100)
src/librustdoc/html/static/main.js

index 04bf466a7804dee5fb53479542a07a2e477afe58..d6c89ef6ff00aa5760688920be16bf0ab3be96d4 100644 (file)
             elems[0].onclick = function() { printTab(0); };
             elems[1].onclick = function() { printTab(1); };
             elems[2].onclick = function() { printTab(2); };
+            printTab(currentTab);
         }
 
         function search(e) {