Skip to content

Commit a91a325

Browse files
committed
Remove unecessary condition
1 parent 01c8df2 commit a91a325

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

public/js/module.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,6 @@
228228
for (let elem of lineCharts) {
229229
const dataset = JSON.parse(elem.getAttribute('data-perfdata'));
230230

231-
if (elem === null) {
232-
return;
233-
}
234-
235231
// The size can vary from chart to chart for example when
236232
// there are two contains on the page.
237233
let opts = {...baseOpts, ...this.getChartSize(elem.offsetWidth)};

0 commit comments

Comments
 (0)