If no search results, dialog value entered in search field
This commit is contained in:
@ -19,6 +19,8 @@ export class Search {
|
||||
}
|
||||
if (items.length > 0) {
|
||||
this.dial((<HTMLElement>items[0]).dataset.tapiNumber)
|
||||
} else {
|
||||
this.dial((<HTMLInputElement>document.getElementById('tapiSearchInput')).value)
|
||||
}
|
||||
|
||||
return false
|
||||
|
Reference in New Issue
Block a user