Have to pass the $event in order to stop bubbling

This commit is contained in:
Michael Abashian 2016-06-13 16:23:23 -04:00
parent a52d686306
commit 9ad5810140

View File

@ -16,7 +16,7 @@
<div class="TagSearch-dropdownItem"
ng-repeat="type in searchTypes track by $index"
ng-class="{'is-selected': (currentSearchType.id === type.id)}"
ng-click="setSearchType(type)">
ng-click="setSearchType($event, type)">
{{ type.label }}
</div>
</div>