We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a784878 commit ca42f71Copy full SHA for ca42f71
1 file changed
_includes/search-input.html
@@ -200,8 +200,12 @@
200
}
201
window.location.href = "/" + getDoumentName(product) + "/docs/" + reporType + "/search.html?lang="+ (lang?lang:"core") + "&q=" + $("#searchbox").val()
202
} else {
203
+ if (document.URL.indexOf("/docs/") >= 0) {
204
let preUrl = document.URL.split("/docs/")[0]
205
window.location.href = preUrl + "/docs/search.html?q=" + $("#searchbox").val()
206
+ } else {
207
+ window.location.href = "/faq/search.html?q=" + $("#searchbox").val()
208
+ }
209
210
})
211
</script>
0 commit comments