Commit 027d00e3 authored by Antonella Giachino's avatar Antonella Giachino
Browse files

Hide popup on heatmap

parent e563318e
......@@ -513,7 +513,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
//popup isn't shown with cluster and heatmap
if ($scope.selectedLayer.isCluster || $scope.selectedLayer.isHeatmap || !$scope.selectedLayer.hasShownDetails){
if (($scope.selectedLayer && ($scope.selectedLayer.isCluster || $scope.selectedLayer.isHeatmap)) || !$scope.selectedLayer.hasShownDetails){
$scope.closer.onclick();
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment