Skip to content

Commit 8442b34

Browse files
committed
revert change for issue dnauck#3, click on container element enables focus, fixed dnauck#14
1 parent b17ab1f commit 8442b34

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* use ng-if for search parameter input to avoid rendering issues and performance
55
* Hide in use search parameter suggestions, fixed issue #8
66
* correctly handle isolation scope of 'placeholder' attribute, fixed #15
7+
* revert change for issue #3, click on container element enables focus, fixed #14
78

89
### 1.1.1 - 03 February 2015
910
* update README with latest changes to dist files in bower package

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">
1+
<div class="advancedSearchBox" ng-class="{active:focus}" ng-init="focus = false" ng-click="!focus ? setSearchFocus = true : null">
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)