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