From 62958280b7748263e3a9d7725ce0eb62df92edeb Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 17 Apr 2015 15:05:56 -0700 Subject: [PATCH] [Plot] Avoid clearing domain offset Avoid clearing domain offset unnecessarily by fixing variable reference; WTD-806. --- platform/features/plot/src/elements/PlotUpdater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/features/plot/src/elements/PlotUpdater.js b/platform/features/plot/src/elements/PlotUpdater.js index 815b91b4e5..d714e8f939 100644 --- a/platform/features/plot/src/elements/PlotUpdater.js +++ b/platform/features/plot/src/elements/PlotUpdater.js @@ -78,7 +78,7 @@ define( } // If there are no more lines, clear the domain offset - if (Object.keys(lines).length < 1) { + if (Object.keys(next).length < 1) { domainOffset = undefined; }