Skip to content

Commit

Permalink
Auto focus the search text box.
Browse files Browse the repository at this point in the history
  • Loading branch information
rupakg committed Jun 4, 2015
1 parent 018c4c9 commit 22fc847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/search-form.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<form id="frmSearch" name="frmSearch" novalidate>
<input type="text" placeholder="search term" ng-model="qterm"/>
<input type="text" placeholder="search term" autofocus ng-model="qterm"/>
<button id="btnSearch" class="button-primary" ng-click="performSearch(qterm)">Search</button>
</form>
<div>
Expand Down

0 comments on commit 22fc847

Please sign in to comment.