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