Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit f2cdb68

Browse files
committed
Update js comments
1 parent d3b5603 commit f2cdb68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,15 @@
116116
$('.nav .responsive').toggleClass('expandable');
117117
});
118118

119-
// click submenu
119+
// active expanded menu
120120
$('ul.menu li').each(function() {
121121
if ($(this).children('li.parent a.current').length > 0 ) {
122122
$(this).parent().find('ul.submenu').toggle();
123123
$(this).parent().find('li.parent').addClass('active');
124124
}
125125
});
126126

127+
// dropdown menu
127128
$('ul.menu li a').on('click', function() {
128129
$(this).parent('li.parent').toggleClass('active');
129130
$(this).parent().find('ul.submenu').slideToggle('fast');

0 commit comments

Comments
 (0)