mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 15:37:24 +00:00
Fix variable usage
This commit is contained in:
parent
8311888501
commit
b8fdf3efeb
@ -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 New Issue
Block a user