From: Radek Czajka Date: Tue, 14 Jul 2020 14:06:58 +0000 (+0200) Subject: Bugfix for player. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/ca084da83d5918477bdc643948adae327c881f76?hp=7a11da008c80f4fd99df338b5166a18667282eb7 Bugfix for player. --- diff --git a/src/catalogue/static/player/player.js b/src/catalogue/static/player/player.js index 639937930..64a21d281 100644 --- a/src/catalogue/static/player/player.js +++ b/src/catalogue/static/player/player.js @@ -24,6 +24,7 @@ $(".title", $root).html(li.html()); player.jPlayer("setMedia", media); player.jPlayer("pause", time); + return player; }; $('.play-next', $root).click(function() {