Skip to content

Commit 2ddade5

Browse files
authored
Fix searching by URL for SDK docs (#2470)
1 parent 5b864ff commit 2ddade5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resources/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function initSearch(name) {
181181
if (search) {
182182
var matches = findMatches(search);
183183
if (matches.length != 0) {
184-
window.location = matches[0].href;
184+
window.location = baseHref + matches[0].href;
185185
return;
186186
}
187187
}

0 commit comments

Comments
 (0)