Merge pull request #5841 from epixa/5831-fix-legend-ie11

Fix bug where legend wouldn't toggle in IE11
This commit is contained in:
Court Ewing 2016-01-07 16:47:17 -05:00
commit 640668cdea
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ visualize-legend {
.legend-ul {
border-left: 1px solid @sidebar-bg;
width: 150px;
flex: 1 1 1px;
flex: 1 1 auto;
overflow-x: hidden;
overflow-y: auto;
color: @legend-item-color;

View file

@ -14,7 +14,7 @@
<div class="legend-value-container">
<div
ng-click="showDetails = !showDetails"
ng-class="showDetails ? 'legend-value-full' : 'legend-value-truncate'"\
ng-class="showDetails ? 'legend-value-full' : 'legend-value-truncate'"
class="legend-value-title">
<i class="fa fa-circle" ng-style="{color: getColor(legendData.label)}"></i> {{legendData.label}}
</div>