change fantom episode name before loading new episode
This commit is contained in:
parent
3305bd6420
commit
2c860e6211
@ -67,7 +67,7 @@
|
||||
</nav>
|
||||
|
||||
<div class="video">
|
||||
<p id="episodeName">170 серия</p>
|
||||
<p id="episodeName"> </p>
|
||||
<video id="video" controls>
|
||||
</video>
|
||||
</div>
|
||||
@ -76,7 +76,7 @@
|
||||
<script type="text/javascript">
|
||||
'use strict';
|
||||
|
||||
let episodesList = [169, 170, 171, 172, 173, 174];
|
||||
let episodesList = [];
|
||||
|
||||
window.onload = function() {
|
||||
let episodeListElement = document.getElementById('episodeList');
|
||||
@ -94,7 +94,6 @@
|
||||
let episodeName = document.getElementById('episodeName');
|
||||
let videoElement = document.getElementById('video');
|
||||
|
||||
// videoElement.style.display = "block";
|
||||
episodeName.innerText = `${episodeId} серия`;
|
||||
|
||||
videoElement.textContent = '';
|
||||
|
Loading…
Reference in New Issue
Block a user