Fix variable usage

This commit is contained in:
Tyrritt 2023-01-26 18:31:05 +01:00
parent 8311888501
commit b8fdf3efeb

View file

@ -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();
});