Skip to content

Commit 506add2

Browse files
BatJannathanwoulfe
authored andcommitted
Move click event from li to button element
1 parent 47af858 commit 506add2

File tree

1 file changed

+2
-3
lines changed
  • src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/macropicker

1 file changed

+2
-3
lines changed

src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/macropicker/macropicker.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@
3030
</div>
3131

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

0 commit comments

Comments
 (0)