1
0
mirror of https://passt.top/passt synced 2024-06-30 06:52:40 +00:00

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,11 +114,10 @@ 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_video,
{ startAt: seek, autoplay: true });
ci_player.dispose();
ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
ci_video,
{ startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" })
}, false);