From: jvoisin Date: Mon, 28 Aug 2023 20:27:36 +0000 (+0200) Subject: Correction d'une erreur de syntaxe dans bw_graphs.js X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/74586b56b47f5c2e6d5a51841cbadc89f4e332c3 Correction d'une erreur de syntaxe dans bw_graphs.js --- diff --git a/assets/bw_graphs.js b/assets/bw_graphs.js index 3efacbb..2c93b4c 100644 --- a/assets/bw_graphs.js +++ b/assets/bw_graphs.js @@ -161,7 +161,7 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) { .attr("d", function(d) { return BwDrawer.area(d.write_values); }) .style("fill", function(d) { return BwDrawer.color(d.fingerprint); }); - update_period = function(period) { + var update_period = function(period) { BwDrawer.x.domain([bw_data[period].minTime, bw_data[period].maxTime]); var t = svg.transition().duration(300); t.select(".x.axis").call(BwDrawer.xAxis);