12 lines
271 B
JavaScript
12 lines
271 B
JavaScript
function toggleSidebar() {
|
|
const sidebar = document.getElementById('sidebar')
|
|
if (sidebar.className === 'visible') {
|
|
sidebar.className = ''
|
|
} else {
|
|
sidebar.className = 'visible'
|
|
}
|
|
}
|
|
|
|
function newTimer() {
|
|
console.warn('newTimer not yet implemented')
|
|
}
|