Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
31dd6ae1
Commit
31dd6ae1
authored
Mar 03, 2017
by
Mathieu Giraud
Browse files
js/scatterPlot.js: fix the span_icon_{plot,bar} buttons
This was broken by
ae59e50a
, this is now fixed. Fixes
#2218
.
parent
b73e59ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/scatterPlot.js
View file @
31dd6ae1
...
...
@@ -631,7 +631,7 @@ ScatterPlot.prototype = {
$
(
span_icon_bar
).
empty
().
append
(
svg
);
},
'
xml
'
);
span_icon_bar
.
onclick
=
function
(){
self
.
changeMode
(
this
.
MODE_BAR
);
self
.
changeMode
(
self
.
MODE_BAR
);
};
span_icon_plot
=
document
.
createElement
(
'
div
'
);
...
...
@@ -642,7 +642,7 @@ ScatterPlot.prototype = {
$
(
span_icon_plot
).
empty
().
append
(
svg
);
},
'
xml
'
);
span_icon_plot
.
onclick
=
function
(){
self
.
changeMode
(
this
.
MODE_GRID
);
self
.
changeMode
(
self
.
MODE_GRID
);
};
var
div_mode
=
document
.
createElement
(
'
div
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment