From ad877dfe1e4af16df785be54418cb926c8689b50 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 28 Jul 2019 18:05:30 +0000 Subject: [PATCH] assets/scripts.js: Make left/right arrow seeks "natural" Unbreaks jumping to/past first choice with empty localStorage. --- assets/scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/scripts.js b/assets/scripts.js index 3487867..bf0b652 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -383,6 +383,7 @@ function jumpForward() { if (m.startMs > ms && (interactionMs == 0 || m.startMs < interactionMs)) interactionMs = m.startMs; + segmentTransition = true; if (interactionMs) { seek(interactionMs); } else { @@ -406,6 +407,7 @@ function jumpBack() { inMoment = true; } + segmentTransition = true; if (interactionMs) { seek(interactionMs); } else if (inMoment) {