Removes unused javascript
This commit is contained in:
parent
3e58163f0d
commit
f42fd28c73
@ -29,10 +29,6 @@ window.onload = function() {
|
|||||||
// update localstorage
|
// update localstorage
|
||||||
Array.from(document.getElementsByClassName('set-display'))
|
Array.from(document.getElementsByClassName('set-display'))
|
||||||
.forEach(t => t.onclick = updateDisplay);
|
.forEach(t => t.onclick = updateDisplay);
|
||||||
|
|
||||||
// toggle display
|
|
||||||
Array.from(document.getElementsByClassName('toggle-button'))
|
|
||||||
.forEach(t => t.onclick = toggleDisplay);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function updateDisplay(e) {
|
function updateDisplay(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user