소스 검색

Listing 3.11: unwanted bubbling.

Frederic G. MARAND 9 년 전
부모
커밋
6765350ff3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Chapter 3/03.js

+ 1 - 1
Chapter 3/03.js

@@ -1,7 +1,7 @@
 $(document).ready(function () {
   'use strict';
 
-  $('#switcher h3')
+  $('#switcher')
     .hover(
       function () { $(this).addClass('hover'); },
       function () { $(this).removeClass('hover'); })