Commit 6aa296bf authored by Mikaël Salson's avatar Mikaël Salson
Browse files

scatterPlot.js: Multi-selection by clicking on y-axis

Correct a typo: from ``this'' to ``self'' (``this'' is not defined in inner
function).

See #2092
Follows b461f5cd and ce33bb24
parent 50c2c9d2
...@@ -1679,7 +1679,7 @@ ScatterPlot.prototype = { ...@@ -1679,7 +1679,7 @@ ScatterPlot.prototype = {
leg.on("click", function(d){ leg.on("click", function(d){
if (self.mode !="bar"){ if (self.mode !="bar"){
// Multi-selection by clicking on a legend // Multi-selection by clicking on a legend
this.m.unselectAllUnlessKey(d3.event) self.m.unselectAllUnlessKey(d3.event)
var listToSelect = []; var listToSelect = [];
var halfRangeLine = 0.5; var halfRangeLine = 0.5;
if (self.axisY.labels.length>1) if (self.axisY.labels.length>1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment