Skip to content

Commit

Permalink
csl.log => pb? 4.164-181
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Oct 25, 2024
1 parent a0fd509 commit 680ce0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ function changeVideo(nid, pgs_rest = true) {
} catch (error) { }
pl_view_active = id;

// Known ERR: loop.js:81 TypeError: Cannot read properties of null (reading 'classList') at changeVideo (loop.js:78:61)
// Known ERR: loop.js:81 TypeError: Cannot read properties of null (reading 'classList') at changeVideo (loop.js:78:61)
// => just stop try...
console.log('Try add dark bg to article with id:'+id);
// console.log('Try add dark bg to article with id:'+id); //-> Return ID 0
// => Need set first ID for first time ...
document.getElementById('pl_view_article_' + id).classList.add('has-background-grey-dark');
}

Expand Down
6 changes: 3 additions & 3 deletions pl_load.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ function waitLib() {
if (lcl_pl_id != -1) {
lcl_REPRISE = $SCANNED ? confirm("Reprendre où vous en étiez ?\nOK = Oui | Annuler = Non") : false;
} else {
console.log('INFO : First time visit this PL => No ask "reprise" #164-52');
lcl_pl_id = list_pl_id.length;
}
if (lcl_REPRISE) {
Expand All @@ -177,9 +178,8 @@ function waitLib() {
lcl_save_IN_list('watch_id', 0, lcl_pl_id);
}




}else{
console.log('ERROR Loading : No LOCAL_STORAGE #181-54');
}

let list_length = playlist.length;
Expand Down

0 comments on commit 680ce0c

Please # to comment.