From: mjanda Date: Mon, 2 Feb 2015 09:34:11 +0000 (+0100) Subject: Get it under 80 chars per line X-Git-Tag: v2.0.0~76^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=12a4344926f6c51212450323d8cd43a9cf5f49ad;p=dygraphs.git Get it under 80 chars per line --- diff --git a/extras/synchronizer.js b/extras/synchronizer.js index 1b27bc2..f39209b 100644 --- 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;