chore(docs-app): add debounce to search input

This fixes issues where the search results do not correctly reflect
the search query. This happens in Firefox when you enter a search query
very rapidly.
There is probably an issue with the async behavior of the search / webworker,
so this is just a workaround.
This commit is contained in:
Martin Staffa
2017-02-15 20:26:24 +01:00
parent f779230f70
commit db46d24491
@@ -83,6 +83,7 @@
ng-blur="focus=false"
ng-change="search(q)"
ng-model="q"
ng-model-options="{debounce: 150}"
docs-search-input
autocomplete="off">
</form>