Slight progress with changing bottom screen content.

This commit is contained in:
Max Stevenson 2020-06-23 19:43:00 +01:00
parent 6bc1d42b45
commit 1beb271a33
1 changed files with 8 additions and 0 deletions

View File

@ -158,6 +158,7 @@ for (let i = 0; i < bottomControlPanelButtons.length; i++) {
button.firstElementChild
.querySelector("p")
.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
const trashIcon = document.getElementById("trash-icon");