From 904d1d685c9669b97d72804775b924d8250a8843 Mon Sep 17 00:00:00 2001 From: Joel Burget Date: Fri, 31 Aug 2012 16:16:56 -0700 Subject: [PATCH] Get derivative graph working with timeline --- utils/derivative-intuition.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/derivative-intuition.js b/utils/derivative-intuition.js index 0af13d9e6..db97d2fba 100644 --- a/utils/derivative-intuition.js +++ b/utils/derivative-intuition.js @@ -274,7 +274,7 @@ $.extend(KhanUtil, { graph.style({ stroke: KhanUtil.DDX_COLOR, strokeWidth: 1, - opacity: 0 + opacity: duration === 0 ? 1 : 0 }, function() { ddxplot = graph.plot(function(x) { return KhanUtil.ddx(x);