Skip to content

Commit c787a78

Browse files
committed
remove setting focus on click on container element, fixed issue #3
1 parent 6122697 commit c787a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-advanced-searchbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false" ng-click="!focus ? setSearchFocus = true : null">
1+
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false">
22
<span ng-show="searchParams.length < 1 && searchQuery.length === 0" class="search-icon glyphicon glyphicon-search"></span>
33
<a ng-href="" ng-show="searchParams.length > 0 || searchQuery.length > 0" ng-click="removeAll()" role="button">
44
<span class="remove-all-icon glyphicon glyphicon-trash"></span>

0 commit comments

Comments
 (0)