Skip to content

Commit f75823a

Browse files
committed
Replace Ext.isArray with Array.isArray
1 parent e8b4f8d commit f75823a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/webapp/vis/src/plot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,12 +762,12 @@ boxPlot.render();
762762
// adjust the plot range to reserve space for log gutter
763763
var mainPlotRangeAdjustment = 30;
764764
if (xLogGutter) {
765-
if (scales.yLeft && Ext.isArray(scales.yLeft.range)) {
765+
if (scales.yLeft && Array.isArray(scales.yLeft.range)) {
766766
scales.yLeft.range = [scales.yLeft.range[0] + mainPlotRangeAdjustment, scales.yLeft.range[1]];
767767
}
768768
}
769769
if (yLogGutter) {
770-
if (scales.x && Ext.isArray(scales.x.range)) {
770+
if (scales.x && Array.isArray(scales.x.range)) {
771771
scales.x.range = [scales.x.range[0] - mainPlotRangeAdjustment, scales.x.range[1]];
772772
}
773773
}

0 commit comments

Comments
 (0)