Fixed formatting on index preventing vehicle tab content displaying.
This commit is contained in:
parent
f9014a1661
commit
c68e92ba8c
10
index.html
10
index.html
|
@ -232,9 +232,7 @@
|
|||
<div class="control-panel__button-display">
|
||||
<div class="buttons button__depressed">
|
||||
<div class="">
|
||||
<p class="button-text__embossed small-button">
|
||||
VEHICLE
|
||||
</p>
|
||||
<p class="button-text__embossed small-button">VEHICLE</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="outer-edge__light buttons">
|
||||
|
@ -333,12 +331,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="video-screen__tab-content video-screen__hidden"
|
||||
id="video-screen___vehicle"
|
||||
>
|
||||
<h2>Tour</h2>
|
||||
</div>
|
||||
<div
|
||||
class="video-screen__tab-content video-screen__hidden"
|
||||
id="video-screen__time"
|
||||
|
|
|
@ -134,6 +134,9 @@ const changeScreenContent = event => {
|
|||
"video-screen__tab-content"
|
||||
);
|
||||
|
||||
console.log(selectedTab);
|
||||
|
||||
|
||||
for (let i = 0; i < tabContentElements.length; i++) {
|
||||
if (tabContentElements[i].id === `video-screen__${selectedTab}`) {
|
||||
tabContentElements[i].style.display = "flex";
|
||||
|
|
Loading…
Reference in New Issue