aboutgitcodebugslistschat
path: root/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib')
-rwxr-xr-xtest/lib/perf_report9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/lib/perf_report b/test/lib/perf_report
index 9117046..f1d3ab9 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -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);