We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fadf6 commit e85df08Copy full SHA for e85df08
src/librustdoc/html/static/main.js
@@ -1396,6 +1396,7 @@ function defocusSearchBar() {
1396
1397
addClass(actives[currentTab][0].previousElementSibling, "highlighted");
1398
removeClass(actives[currentTab][0], "highlighted");
1399
+ e.preventDefault();
1400
} else if (e.which === 40) { // down
1401
if (!actives[currentTab].length) {
1402
var results = document.getElementById("results").childNodes;
@@ -1409,6 +1410,7 @@ function defocusSearchBar() {
1409
1410
addClass(actives[currentTab][0].nextElementSibling, "highlighted");
1411
1412
}
1413
1414
} else if (e.which === 13) { // return
1415
if (actives[currentTab].length) {
1416
document.location.href =
0 commit comments