1
0
mirror of https://passt.top/passt synced 2024-10-01 03:25:48 +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(); event.preventDefault();
ci_video_player.dispose(); ci_player.dispose();
ci_video_player = AsciinemaPlayer.create( ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
"/builds/latest/web/ci.cast", ci_video,
ci_video, { startAt: seek, autoplay: true });
{ startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" }) window.scrollTo({ top: top, behavior: "smooth" })
}, false); }, false);