test: Fix name of CI asciinema player in perf links handler

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-02-23 10:48:49 +01:00
parent c47d9f7ee0
commit 08b7a2ec38

View file

@ -114,9 +114,8 @@ for (var i = 0; i < perf_links.length; i++) {
}
event.preventDefault();
ci_video_player.dispose();
ci_video_player = AsciinemaPlayer.create(
"/builds/latest/web/ci.cast",
ci_player.dispose();
ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
ci_video,
{ startAt: seek, autoplay: true });