回答編集履歴
1
ついき
test
CHANGED
@@ -11,6 +11,10 @@
|
|
11
11
|
$("#primary-menu li a").filter(function(){return $(this).next('ul').length>0;}).on('click',function(e){
|
12
12
|
|
13
13
|
$(this).next('ul').slideToggle();
|
14
|
+
|
15
|
+
/* 追記 */
|
16
|
+
|
17
|
+
$(this).closest("li").siblings().find("ul").slideUp();
|
14
18
|
|
15
19
|
e.preventDefault();
|
16
20
|
|