Skip to content

Commit

Permalink
feat(summoner): check summoner name on enter
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Aug 14, 2017
1 parent 4f0479d commit 4d40957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/summoner/summoner.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {LolApiService} from '../services';
<div class="align-center">
<p>
Enter your summoner name:
<input type="text" name="name" #summoner>
<input type="text" name="name" #summoner (keyup.enter)="getAccountId(summoner)">
<button (click)="getAccountId(summoner)">Go</button>
</p>
<p *ngIf="error">Error summoner does not exist</p>
Expand Down

0 comments on commit 4d40957

Please sign in to comment.