Skip to content

Commit

Permalink
Move click event from li to button element
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nathanwoulfe committed Sep 30, 2020
1 parent 47af858 commit 506add2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@
</div>

<ul class="umb-card-grid -three-in-row">
<li ng-repeat="availableItem in macros | orderBy:'name' | filter:searchTerm"
ng-click="selectMacro(availableItem)">
<button class="btn-reset umb-card-grid-item" title="{{availableItem.name}}">
<li ng-repeat="availableItem in macros | orderBy:'name' | filter:searchTerm">
<button class="btn-reset umb-card-grid-item" title="{{availableItem.name}}" ng-click="selectMacro(availableItem)">
<span>
<i class="icon-settings-alt" aria-hidden="true"></i>
{{availableItem.name}}
Expand Down

0 comments on commit 506add2

Please sign in to comment.