diff --git a/demos/classlist.html b/demos/classlist.html index b74c1a8..11fc42f 100644 --- a/demos/classlist.html +++ b/demos/classlist.html @@ -46,7 +46,7 @@ var toggle = document.getElementById('toggleClass'), test = document.getElementById('classListTest'); -if (toggleClass.classList) { +if (toggle.classList) { var supported = document.getElementById('status'); supported.parentNode.removeChild(supported); // bit of event delegation otherwise we're binding to each input