mirror of
https://github.com/Max-Stevenson/jurassic-park-interface.git
synced 2024-06-01 06:41:30 +00:00
Slight progress with changing bottom screen content.
This commit is contained in:
parent
6bc1d42b45
commit
1beb271a33
|
@ -158,6 +158,7 @@ for (let i = 0; i < bottomControlPanelButtons.length; i++) {
|
||||||
button.firstElementChild
|
button.firstElementChild
|
||||||
.querySelector("p")
|
.querySelector("p")
|
||||||
.classList.remove("button-text__engraved");
|
.classList.remove("button-text__engraved");
|
||||||
|
changeBottomScreenContent(event);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -247,6 +248,13 @@ const resetCircuitBreakers = () => {
|
||||||
};
|
};
|
||||||
////////////////////////
|
////////////////////////
|
||||||
|
|
||||||
|
// Change Bottom Video Screen
|
||||||
|
const changeBottomScreenContent = event => {
|
||||||
|
let selectedTab = event.currentTarget.lastElementChild.firstElementChild.innerHTML.toLowerCase();
|
||||||
|
console.log(selectedTab);
|
||||||
|
};
|
||||||
|
////////////////////////
|
||||||
|
|
||||||
// Trash modal
|
// Trash modal
|
||||||
const trashIcon = document.getElementById("trash-icon");
|
const trashIcon = document.getElementById("trash-icon");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user