Remove unused remix code
This commit is contained in:
parent
5984db9e55
commit
3bbac95746
1 changed files with 0 additions and 8 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue