From 30728df2d7b55e5382c164926182a5291303f19f Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Tue, 24 Jun 2014 13:37:01 -0400 Subject: [PATCH] Fix terminal carousel on landing page of docs This isn't perfect, but it is a step in the right direction. This fixes the prev button not working at all and the next button having some undesirable behavior. This seems to work for the most part, but I noticed that if I leave this open and go to a different tab in my browser, there's some strange behavior when I come back to the landing page: there are multiple outputs playing at once. This is similar to the current behavior, where clicking the next button multiple times does the same thing. --- docs/_themes/jrnl/index.html | 4 +- docs/_themes/jrnl/static/js/landing.js | 51 +++++++++++++++++--------- 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/docs/_themes/jrnl/index.html b/docs/_themes/jrnl/index.html index d9010b1a..2d02a2c7 100755 --- a/docs/_themes/jrnl/index.html +++ b/docs/_themes/jrnl/index.html @@ -24,9 +24,9 @@

Collect your thoughts and notes
without leaving the command line

-
+
$ jrnl today: Started writing my memoirs. On the command line. Like a boss.
-
+