autoload first episode
This commit is contained in:
parent
f2094640fe
commit
7b88cba43c
@ -86,7 +86,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
let episodesList = [];
|
let episodesList = [177, 178]; // example
|
||||||
|
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
let episodeListElement = document.getElementById('episodeList');
|
let episodeListElement = document.getElementById('episodeList');
|
||||||
@ -98,6 +98,7 @@
|
|||||||
episodeListElement.appendChild(episodeItem);
|
episodeListElement.appendChild(episodeItem);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
changeEpisode(episodesList[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeEpisode(episodeId) {
|
function changeEpisode(episodeId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user