diff --git a/code/search.js b/code/search.js index 120ce055..5fa006fe 100644 --- a/code/search.js +++ b/code/search.js @@ -7,8 +7,8 @@ addHook('search', function(query) {}); `query` is an object with the following members: - `term` is the term for which the user has searched -- `confirmed` is a boolean indicating if the user has pressed enter after searching. You should not search online or - heavy processing unless the user has confirmed the search term +- `confirmed` is a boolean indicating if the user has pressed enter after searching. You should not search online or + do heavy processing unless the user has confirmed the search term - `addResult(result)` can be called to add a result to the query. `result` may have the following members (`title` is required, as well as one of `position` and `bounds`): diff --git a/main.js b/main.js index 408ad413..9f656419 100644 --- a/main.js +++ b/main.js @@ -84,7 +84,7 @@ document.getElementsByTagName('body')[0].innerHTML = '' + '