From: jvoisin <julien.voisin@dustri.org>
Date: Mon, 28 Aug 2023 20:30:02 +0000 (+0200)
Subject: Revert "Correction d'une erreur de syntaxe dans bw_graphs.js"
X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/16841d6d825387a8a6f9256097d8e1c824f93c02?ds=inline

Revert "Correction d'une erreur de syntaxe dans bw_graphs.js"

This reverts commit 74586b56b47f5c2e6d5a51841cbadc89f4e332c3.
---

diff --git a/assets/bw_graphs.js b/assets/bw_graphs.js
index 2c93b4c..3efacbb 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); });
 
-  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);