[Template] Move ng-click to parent node

Move the ng-click directive to the li element to match the element that receives
hover styles.

Fixes nasa/openmctweb#60.
This commit is contained in:
Pete Richards 2015-08-05 17:11:30 -07:00
parent 2ca3c6ea93
commit 37cd73c6e8

View File

@ -23,9 +23,8 @@
<div class="pane left menu-items">
<ul>
<li ng-repeat="createAction in createActions">
<li ng-repeat="createAction in createActions" ng-click="createAction.perform()">
<a
ng-click="createAction.perform()"
ng-mouseover="representation.activeMetadata = createAction.getMetadata()"
ng-mouseleave="representation.activeMetadata = undefined">
<span class="ui-symbol icon type-icon">
@ -48,4 +47,4 @@
{{representation.activeMetadata.description}}
</div>
</div>
</div>
</div>