回答編集履歴
1
e.targetの修正
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
$("#toggle").click(function(e){
|
8
8
|
|
9
|
-
if(
|
9
|
+
if(e.target.tagName.toLowerCase() != 'a'){
|
10
10
|
|
11
11
|
e.preventDefault();
|
12
12
|
|