Skip to content

Commit ca90501

Browse files
committed
removed the toggleClass test - variable never existed. Fixes #18
1 parent 6b8ef9a commit ca90501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/classlist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
var toggle = document.getElementById('toggleClass'),
4747
test = document.getElementById('classListTest');
4848

49-
if (toggleClass.classList) {
49+
if (toggle.classList) {
5050
var supported = document.getElementById('status');
5151
supported.parentNode.removeChild(supported);
5252
// bit of event delegation otherwise we're binding to each input

0 commit comments

Comments
 (0)