Skip to content

Commit

Permalink
remove setting focus on click on container element, fixed issue dnauck#3
Browse files Browse the repository at this point in the history
  • Loading branch information
dnauck committed Feb 3, 2015
1 parent 6122697 commit c787a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/angular-advanced-searchbox.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false" ng-click="!focus ? setSearchFocus = true : null">
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false">
<span ng-show="searchParams.length < 1 && searchQuery.length === 0" class="search-icon glyphicon glyphicon-search"></span>
<a ng-href="" ng-show="searchParams.length > 0 || searchQuery.length > 0" ng-click="removeAll()" role="button">
<span class="remove-all-icon glyphicon glyphicon-trash"></span>
Expand Down

0 comments on commit c787a78

Please sign in to comment.