aeexplorer
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "aeexplorer", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "An interactive tool that allows users to dynamically query adverse event data in real time", | ||
@@ -5,0 +5,0 @@ "main": "table.js", |
@@ -989,3 +989,3 @@ //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++// | ||
/////////////////////////// | ||
canvas.selectAll("td.rowLabel").on("click",function(d){ | ||
canvas.selectAll("tbody td.rowLabel").on("click",function(d){ | ||
//Update classes (row visibility handeled via css) | ||
@@ -1225,4 +1225,4 @@ toggle=!(canvas.select(".SummaryTable table").classed("summary")) // True if we want to draw the participant table, false if we want to remove it. | ||
eMinor.values.sort(function(a,b){ | ||
diff=b.values.tot-a.values.tot | ||
return diff==0 ? a.key > b.key : diff | ||
return groups.map(function(group) { return group.key; }).indexOf(a.key) - | ||
groups.map(function(group) { return group.key; }).indexOf(b.key); | ||
}) | ||
@@ -1229,0 +1229,0 @@ }) |
58416