Get it under 80 chars per line
authormjanda <mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:34:11 +0000 (10:34 +0100)
committerRobert Konigsberg <konigsberg@google.com>
Tue, 26 May 2015 20:46:52 +0000 (16:46 -0400)
extras/synchronizer.js

index fdfec9f..f2ba905 100644 (file)
@@ -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;