]> nos-oignons.net Git - website.git/commitdiff
Revert "Correction d'une erreur de syntaxe dans bw_graphs.js"
authorjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 20:30:02 +0000 (22:30 +0200)
committerjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 20:30:02 +0000 (22:30 +0200)
This reverts commit 74586b56b47f5c2e6d5a51841cbadc89f4e332c3.

assets/bw_graphs.js

index 2c93b4c677b04ae614500dfe7423dcf2b15a7855..3efacbbb8559edad9e5352fe9abe3b5cc2e66f43 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); });
 
-  var update_period = function(period) {
+  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);