From 97806c2c9cfd138fe140197cd18cd8a607e91f57 Mon Sep 17 00:00:00 2001 From: Matt Mascarenhas Date: Sun, 27 Jun 2021 19:13:18 +0100 Subject: [PATCH] cinera_player_post.js: s/setTime/setTimeThenPlay Thanks to @nairou on twitter for the report --- cinera/cinera.c | 2 +- cinera/cinera_player_post.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cinera/cinera.c b/cinera/cinera.c index f41374b..96c7618 100644 --- a/cinera/cinera.c +++ b/cinera/cinera.c @@ -23,7 +23,7 @@ typedef struct version CINERA_APP_VERSION = { .Major = 0, .Minor = 9, - .Patch = 0 + .Patch = 1 }; #include // NOTE(matt): varargs diff --git a/cinera/cinera_player_post.js b/cinera/cinera_player_post.js index 1a788dd..59b157f 100644 --- a/cinera/cinera_player_post.js +++ b/cinera/cinera_player_post.js @@ -385,7 +385,7 @@ for(var i = 0; i < topicDots.length; ++i) var lastAnnotationStorageItem = "cineraTimecode_" + window.location.pathname; var lastAnnotation; if(location.hash) { - player.setTime(location.hash.startsWith('#') ? location.hash.substr(1) : location.hash); + player.setTimeThenPlay(location.hash.startsWith('#') ? location.hash.substr(1) : location.hash); } else if(lastAnnotation = localStorage.getItem(lastAnnotationStorageItem)) {