mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04: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