mirror of
https://github.com/TeamPiped/Piped
synced 2025-11-08 16:30:09 +01: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})/)
|
||||
)
|
||||
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();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user