Skip to content

Commit 9de9f28

Browse files
committed
fixed issue per ticket
1 parent 04036b0 commit 9de9f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/custom-events/ch11-custom-events.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h2 class="title">
116116
$(this).removeClass('off').addClass('on');
117117
})
118118
.bind('turnOff', function(e) {
119-
$(this).removeClass('off').addClass('on');
119+
$(this).removeClass('on').addClass('off');
120120
});
121121

122122
$('.switch, .clapper').click(function() {

0 commit comments

Comments
 (0)