diff --git a/tools/droiddoc/templates/assets/search_autocomplete.js b/tools/droiddoc/templates/assets/search_autocomplete.js index 929751fa7..f2e6f5c03 100644 --- a/tools/droiddoc/templates/assets/search_autocomplete.js +++ b/tools/droiddoc/templates/assets/search_autocomplete.js @@ -168,6 +168,6 @@ function search_focus_changed(obj, focused) function submit_search() { var query = document.getElementById('search_autocomplete').value; - document.location = toRoot + 'search.html#q=' + query; // toRoot is initialized in android-developer-docs.js + document.location = '/search.html#q=' + query + '&t=0'; return false; }