Fixed call to a possibly undefined JS method Fixed z-index of Search Bar
@@ -39,7 +39,7 @@
width: 100%;
position: fixed;
top: 28px;
- z-index: 1000;
+ z-index: 1010;
}
.search-bar input {
@@ -523,7 +523,7 @@ function barChartBuilder(element, options, isTimeline) {
});
- if ($(element).width() < 300){
+ if ($(element).width() < 300 && typeof _chart.showLegend != "undefined"){
_chart.showLegend(false);
_chart.transitionDuration(0);