sassdoc-theme-light
Advanced tools
Comparing version 1.2.5-rc.10 to 1.2.5-rc.11
@@ -48,2 +48,3 @@ /* global document */ | ||
this.codePreview(); | ||
this.foldingSidebar(); | ||
}; | ||
@@ -160,2 +161,3 @@ | ||
var $headings = $('.sidebar__item--heading'); | ||
$headings.on('click', function () { | ||
@@ -165,7 +167,7 @@ var $item = $(this); | ||
if ($item.index() <= $headings.length) { | ||
$(this).nextAll('ul').toggleClass('collapsed'); | ||
$item.nextAll('ul').toggleClass('collapsed'); | ||
} | ||
else { | ||
$(this).nextUntil('.sidebar__item--heading', 'ul').toggleClass('collapsed'); | ||
$item.nextUntil('.sidebar__item--heading', 'ul').toggleClass('collapsed'); | ||
} | ||
@@ -172,0 +174,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"title": "SassDoc Theme Light", | ||
"version": "1.2.5-rc.10", | ||
"version": "1.2.5-rc.11", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
94320
283