mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix variable usage
This commit is contained in:
parent
8311888501
commit
b8fdf3efeb
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ export default {
|
||||||
!target.innerText.match(/(?:[\d]{1,2}:)?(?:[\d]{1,2}):(?:[\d]{1,2})/)
|
!target.innerText.match(/(?:[\d]{1,2}:)?(?:[\d]{1,2}):(?:[\d]{1,2})/)
|
||||||
)
|
)
|
||||||
return;
|
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);
|
this.navigate(time);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue