回答編集履歴
1
文法の修正
test
CHANGED
@@ -90,11 +90,11 @@
|
|
90
90
|
|
91
91
|
Array.prototype.forEach.call( menu, function( item ) {
|
92
92
|
|
93
|
-
item.
|
93
|
+
item.addEventListener( 'click', function() {
|
94
94
|
|
95
95
|
this.querySelector( '.smenu' ).classList.toggle( 'active' );
|
96
96
|
|
97
|
-
};
|
97
|
+
});
|
98
98
|
|
99
99
|
});
|
100
100
|
|