projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7c7362
)
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
Robert Konigsberg
<konigsberg@google.com>
Tue, 26 May 2015 20:46:52 +0000
(16:46 -0400)
extras/synchronizer.js
patch
|
blob
|
blame
|
history
diff --git
a/extras/synchronizer.js
b/extras/synchronizer.js
index
fdfec9f
..
f2ba905
100644
(file)
--- a/
extras/synchronizer.js
+++ b/
extras/synchronizer.js
@@
-161,7
+161,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;