diff --git a/documentation/src/main/resources/_includes/head.html b/documentation/src/main/resources/_includes/head.html index f85c61837f..a17ced9a10 100644 --- a/documentation/src/main/resources/_includes/head.html +++ b/documentation/src/main/resources/_includes/head.html @@ -8,15 +8,15 @@ - + - - - + + + diff --git a/documentation/src/main/resources/js/customscripts.js b/documentation/src/main/resources/js/customscripts.js index 2a3276ca6b..e8901b2f7b 100644 --- a/documentation/src/main/resources/js/customscripts.js +++ b/documentation/src/main/resources/js/customscripts.js @@ -10,13 +10,13 @@ $(function () { $(document).ready(function() { $("#mysidebar li.subfolders > a").click(function (e) { e.preventDefault(); - var theUl = $(this).parent().select("ul"); - if (!theUl.hasClass("open")) { - theUl.addClass("open"); - theUl.removeClass("closed"); + var theLi = $(this).parent(); + if (!theLi.hasClass("open")) { + theLi.addClass("open"); + theLi.removeClass("closed"); } else { - theUl.addClass("closed"); - theUl.removeClass("open"); + theLi.addClass("closed"); + theLi.removeClass("open"); } }); $("#collapseAll").click(function(e) { diff --git a/ui/index.html b/ui/index.html index 64bee21370..40009d060d 100644 --- a/ui/index.html +++ b/ui/index.html @@ -16,8 +16,10 @@ Eclipse Ditto™ explorer - + - @@ -54,27 +56,27 @@