]> nos-oignons.net Git - website.git/blobdiff - assets/weights_graphs.js
Ajout PyCon-fr
[website.git] / assets / weights_graphs.js
index 7ed52dce990f09a11872bb7d776a6e1ac87b8ef4..943111ff64bbdcc326afb57efccdf6bc8b4c48bf 100644 (file)
@@ -114,10 +114,10 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
     var radio = div.append("input")
       .attr("type", "radio")
       .attr("name", "period")
-      .attr("id", "period_" + p.id)
+      .attr("id", "weights_period_" + p.id)
       .on("click", function() { drawer.update_period(p.id); });
     div.append("label")
-      .attr("for", "period_" + p.id)
+      .attr("for", "weights_period_" + p.id)
       .text(p.label);
     if (p.id == WeightsDrawer.periods[0].id) {
       radio.attr("checked", true);