mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Only add notification event listener after onload
This commit is contained in:
parent
4e111c84f3
commit
e23bab0103
3 changed files with 29 additions and 29 deletions
|
@ -1,4 +1,4 @@
|
|||
function get_playlist(plid, timeouts) {
|
||||
function get_playlist(plid, timeouts = 0) {
|
||||
if (timeouts > 10) {
|
||||
console.log('Failed to pull playlist');
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue