]> nos-oignons.net Git - website.git/commitdiff
Correction d'une typo
authorjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 21:03:16 +0000 (23:03 +0200)
committerjvoisin <julien.voisin@dustri.org>
Mon, 28 Aug 2023 21:03:16 +0000 (23:03 +0200)
assets/bw_graphs.js

index dbeb1cfb155a95cac324fd66a25f171a806cc638..c7b44d2f61ab1c278808cb654199cd10282bb2c5 100644 (file)
@@ -62,7 +62,7 @@ BwDrawer.color.range(nos_oignons_relays.map(function(r) {return r.color}));
 
 BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
   // Purge non running relays
-  raw_data.relays = raw_data.relays.filter(function(relay) {
+  raw_data.relays = raw_data.relays.filter(function(r) {
     return typeof r.read_history === 'undefined' || typeof r.write_history === 'undefined';
   });