Remove unused remix code

This commit is contained in:
Melissa LeBlanc-Williams 2022-03-21 13:52:31 -07:00
parent 5984db9e55
commit 3bbac95746

View file

@ -30,7 +30,6 @@ const darkMode = document.getElementById('darkmode');
const dashboard = document.getElementById('dashboard');
const fpsCounter = document.getElementById("fpsCounter");
const knownOnly = document.getElementById("knownonly");
const butRemix = document.querySelector(".remix button");
let colorIndex = 0;
let activePanels = [];
@ -45,7 +44,6 @@ document.addEventListener('DOMContentLoaded', async () => {
showTimestamp.addEventListener('click', clickTimestamp);
darkMode.addEventListener('click', clickDarkMode);
knownOnly.addEventListener('click', clickKnownOnly);
butRemix.addEventListener('click', remix);
if ('bluetooth' in navigator) {
const notSupported = document.getElementById('notSupported');
@ -58,12 +56,6 @@ document.addEventListener('DOMContentLoaded', async () => {
//createMockPanels();
});
function remix() {
let projectUrl = window.location.href.replace('.glitch.me/', '').replace('://', '://glitch.com/edit/#!/remix/');
window.location.href = projectUrl;
}
const boards = {
CLUE: {
colorOrder: 'GRB',