Commit 2b99fc2d authored by Marc Duez's avatar Marc Duez
Browse files

scatterplot.js : update menu (bar/plot icon)

parent 04cb5487
......@@ -1059,8 +1059,6 @@ ScatterPlot.prototype = {
*/
changeMode : function (mode) {
this.changeSplitMethod(this.splitX, this.splitY, mode);
$(".sp_menu_icon").removeClass("sp_selected_mode");
$("#"+this.id+"_"+this.mode).addClass("sp_selected_mode");
},
......@@ -1996,6 +1994,8 @@ ScatterPlot.prototype = {
.selectedIndex = select_x
document.getElementById("select_y")
.selectedIndex = select_y
$(".sp_menu_icon").removeClass("sp_selected_mode");
$("#"+this.id+"_"+this.mode).addClass("sp_selected_mode");
return this;
},
......
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