Skip to content

Commit

Permalink
Lint correction, touch #563.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDalek committed Feb 10, 2025
1 parent 44c8c7b commit 1a0612f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/highcharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,7 @@ export async function triggerExport(chartOptions, options, displayErrors) {
let constr = options.export.constr || 'chart';
constr = typeof Highcharts[constr] !== 'undefined' ? constr : 'chart';

Highcharts[constr](
'container',
finalOptions,
finalCallback
);
Highcharts[constr]('container', finalOptions, finalCallback);

// Get the current global options
const defaultOptions = getOptions();
Expand Down

0 comments on commit 1a0612f

Please sign in to comment.