5,520
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/* ====== switch toggle ====== */ | /* ====== switch toggle ====== */ | ||
if (document.getElementById('switch-input')) { | |||
document.getElementById('switch-input').addEventListener('click', toggleView); | document.getElementById('switch-input').addEventListener('click', toggleView); | ||
} | |||
var toggleStatus = 'yes'; | var toggleStatus = 'yes'; |