fix #308: auto-type for single entry

This commit is contained in:
antelle 2016-08-11 21:15:23 +03:00
parent dc74f763fb
commit 6cd0197b2a
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ var AutoType = {
processEventWithFilter(evt) {
let entries = evt.filter.getEntries();
if (entries.length === 1) {
this.runAndHandleResult(entries[0]);
this.runAndHandleResult(entries.at(0));
return;
}
this.selectEntryView = new AutoTypeSelectView({