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
+1 -1
View File
@@ -86,7 +86,7 @@ block content
});
}
$(window).resize(function () {
if (jqplot != null)
if (jqplot != null && $('#chart').is(':visible'))
jqplot.replot({ resetAxes: false });
});
});