Commit ce33bb24 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

scatterPlot.js identifier: this to self

Incorrect identifier in event listener caused function to be applied to
clicked element rather than scatterplot
parent 18c8403f
......@@ -1531,7 +1531,7 @@ ScatterPlot.prototype = {
leg.exit()
.remove();
leg.on("click", function(d){
this.m.unselectAllUnlessKey(d3.event)
self.m.unselectAllUnlessKey(d3.event)
var listToSelect = [];
var halfRangeColumn = 0.5;
if (self.axisX.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