]> nos-oignons.net Git - website.git/commitdiff
Correction d'une erreur de syntaxe dans bw_graphs.js
authorjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 20:27:36 +0000 (22:27 +0200)
committerjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 20:27:56 +0000 (22:27 +0200)
assets/bw_graphs.js

index 3efacbbb8559edad9e5352fe9abe3b5cc2e66f43..2c93b4c677b04ae614500dfe7423dcf2b15a7855 100644 (file)
@@ -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);