diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index ea7e48e7..107a1d71 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -345,7 +345,7 @@ export default { !target.innerText.match(/(?:[\d]{1,2}:)?(?:[\d]{1,2}):(?:[\d]{1,2})/) ) return; - const time = parseInt(event.target.getAttribute("href").match(/(?<=t=)\d+/)[0]); + const time = parseInt(target.getAttribute("href").match(/(?<=t=)\d+/)[0]); this.navigate(time); event.preventDefault(); });