Skip to content

Commit 8659b7c

Browse files
committed
Go to the actual file directly
1 parent 7d504a6 commit 8659b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
$(element).typeahead(typeaheadOptions).on("typeahead:selected", function (_, item) {
312312
/* If the user has selected an autocomplete item and hits
313313
* enter, we should take them straight to the page. */
314-
window.location = "/" + item.id;
314+
window.location = "/manual/" + options.language + "/" + item.id;
315315
}).on("keyup", (function () {
316316
/* typeahead.js doesn't give us a reliable event for the
317317
* dropdown entries having been updated, so we'll hook into the

0 commit comments

Comments
 (0)