Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88ee3f4e authored by Scott Main's avatar Scott Main Committed by The Android Open Source Project
Browse files

AI 149729: fix search functionatilty for offline docs...

  the file references weren't using the local root.
  BUG=1909300

Automated import of CL 149729
parent 29eafdea
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -168,6 +168,6 @@ function search_focus_changed(obj, focused)


function submit_search() {
function submit_search() {
  var query = document.getElementById('search_autocomplete').value;
  var query = document.getElementById('search_autocomplete').value;
  document.location = '/search.html#q=' + query; 
  document.location = toRoot + 'search.html#q=' + query; // toRoot is initialized in android-developer-docs.js 
  return false;
  return false;
}
}