|
|
@@ -34,7 +34,12 @@ function (angular, _, kbn, $) {
|
|
|
}
|
|
|
|
|
|
function openColorSelector(e) {
|
|
|
- var el = $(e.currentTarget);
|
|
|
+ // if we clicked inside poup container ignore click
|
|
|
+ if ($(e.target).parents('.popover').length) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ var el = $(e.currentTarget).find('.fa-minus');
|
|
|
var index = getSeriesIndexForElement(el);
|
|
|
var seriesInfo = seriesList[index];
|
|
|
var popoverScope = scope.$new();
|