Skip to content
Snippets Groups Projects
Commit 1e545532 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Remove some debug statements

parent 6b52c9fa
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,6 @@ if container = document.querySelector '.tags-control'
e.parentNode.removeChild e
for e in container.querySelectorAll '.tag .text'
console.log e, e.textContent
container.appendChild mkelem 'input', '',
type: 'hidden', name: 'tags[]', value: e.textContent
......
......@@ -67,14 +67,12 @@ if table.classList.contains 'match-editable'
# total scores toggling + persistence in local storage
toggle_totals = document.getElementById 'toggle-total-scores'
console.log toggle_totals
if 'localStorage' of window and localStorage.getItem 'hide-total-scores'
table.classList.add 'hide-total-scores'
toggle_totals.classList.remove 'active'
toggle_totals.addEventListener 'click', ->
console.log 'x'
@.classList.toggle 'active'
@.blur()
hide = table.classList.toggle 'hide-total-scores'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment