From 4ff36332c7637de4579e89a739ee5288aad32ef1 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Tue, 22 Apr 2014 07:42:13 -0700 Subject: [PATCH] Fix failures introduced by the merge from master. --- src/jquery.flot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jquery.flot.js b/src/jquery.flot.js index d2a41d0..c2c7dbf 100644 --- a/src/jquery.flot.js +++ b/src/jquery.flot.js @@ -2570,7 +2570,7 @@ Licensed under the MIT license. yequal = yrange.from === yrange.to; if (xequal && yequal) { - continue; + return; } // then draw @@ -2590,7 +2590,7 @@ Licensed under the MIT license. ctx.lineTo(xrange.to + subPixel, yrange.to); } else { ctx.moveTo(xrange.from, yrange.to + subPixel); - ctx.lineTo(xrange.to, yrange.to + subPixel); + ctx.lineTo(xrange.to, yrange.to + subPixel); } ctx.stroke(); } else {