Skip to content

Commit

Permalink
revert change for issue dnauck#3, click on container element enables …
Browse files Browse the repository at this point in the history
…focus, fixed dnauck#14
  • Loading branch information
dnauck committed Jul 13, 2015
1 parent b17ab1f commit 8442b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* use ng-if for search parameter input to avoid rendering issues and performance
* Hide in use search parameter suggestions, fixed issue #8
* correctly handle isolation scope of 'placeholder' attribute, fixed #15
* revert change for issue #3, click on container element enables focus, fixed #14

### 1.1.1 - 03 February 2015
* update README with latest changes to dist files in bower package
Expand Down
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">
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false" ng-click="!focus ? setSearchFocus = true : null">
<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 8442b34

Please sign in to comment.