Skip to content

Commit

Permalink
Automatic update of API docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoro-team committed Jul 26, 2021
1 parent bad8ab1 commit 59cfb29
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _static/searchtools.js
Expand Up @@ -276,7 +276,7 @@ var Search = {
setTimeout(function() {
displayNextItem();
}, 5);
} else {
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
$.ajax({url: requestUrl,
dataType: "text",
complete: function(jqxhr, textstatus) {
Expand All @@ -289,6 +289,12 @@ var Search = {
displayNextItem();
}, 5);
}});
} else {
// no source available, just display title
Search.output.append(listItem);
setTimeout(function() {
displayNextItem();
}, 5);
}
}
// search finished, update title and status message
Expand Down

0 comments on commit 59cfb29

Please sign in to comment.