Fix jqPlot error msgs on market page when resizing

This commit is contained in:
joeuhren
2020-12-21 19:42:17 -07:00
parent c9fdb2013e
commit 8071494175
+2 -2
View File
@@ -86,8 +86,8 @@ block content
}); });
} }
$(window).resize(function () { $(window).resize(function () {
if (jqplot != null) if (jqplot != null && $('#chart').is(':visible'))
jqplot.replot( { resetAxes: false } ); jqplot.replot({ resetAxes: false });
}); });
}); });
.row .row