Commit c945df1b authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Improve syntax

parent 48e0a308
......@@ -717,7 +717,7 @@ d3.boxplot.__draw_idy_lines = function (idy, lines, x_len, y_len) {
d3.boxplot.switch_color_theme = function () {
if (!d3.boxplot.all_disabled) {
let current_theme = d3.boxplot.color_idy_theme;
let idx = d3.boxplot.color_idy_themes.indexOf(current_theme)
let idx = d3.boxplot.color_idy_themes.indexOf(current_theme);
if (idx < d3.boxplot.color_idy_themes.length - 1) {
idx++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment