Skip to content

Commit

Permalink
removed the toggleClass test - variable never existed. Fixes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Sep 15, 2011
1 parent 6b8ef9a commit ca90501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/classlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca90501

Please sign in to comment.