projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca560d
)
Get it under 80 chars per line
author
mjanda
<mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:34:11 +0000
(10:34 +0100)
committer
mjanda
<mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:34:11 +0000
(10:34 +0100)
extras/synchronizer.js
patch
|
blob
|
blame
|
history
diff --git
a/extras/synchronizer.js
b/extras/synchronizer.js
index
1b27bc2
..
f39209b
100644
(file)
--- a/
extras/synchronizer.js
+++ b/
extras/synchronizer.js
@@
-165,7
+165,9
@@
function attachSelectionHandlers(gs, prevCallbacks) {
prevCallbacks.unhighlight = g.getFunctionOption('unhighlightCallback');
g.updateOptions({
highlightCallback: function(event, x, points, row, seriesName) {
- if (prevCallbacks.highlight) prevCallbacks.highlight(event, x, points, row, seriesName);
+ if (prevCallbacks.highlight) {
+ prevCallbacks.highlight(event, x, points, row, seriesName);
+ }
if (block) return;
block = true;
var me = this;