diff --git a/public/scripts/app.js b/public/scripts/app.js index 8d57d6d..dc6a0f4 100644 --- a/public/scripts/app.js +++ b/public/scripts/app.js @@ -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");