client/general: handle spaces in autocomplete

This commit is contained in:
rr-
2016-07-03 19:37:10 +02:00
parent 7ae2778e48
commit abd8e9e89c
4 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,7 @@ class PostsHeaderView {
views.replaceContent(this._hostNode, template(ctx));
if (this._queryInputNode) {
new TagAutoCompleteControl(this._queryInputNode);
new TagAutoCompleteControl(this._queryInputNode, {addSpace: true});
}
keyboard.bind('q', () => {