Updated documentation

This commit is contained in:
Abdullah Almsaeed
2015-05-07 00:04:48 -04:00
parent d72176caa7
commit 2b8e2c3859
4 changed files with 2061 additions and 1983 deletions

View File

@@ -1,5 +1,5 @@
/*
* Documentation specific JS script
* Documentation JS script
*/
$(function () {
var slideToTop = $("<div />");
@@ -42,9 +42,9 @@ $(function () {
scrollTop: 0
}, 500);
});
$(".sidebar-menu li a").click(function () {
$(".sidebar-menu li:not(.treeview) a").click(function () {
var $this = $(this);
var target = $this.attr("href");
var target = $this.attr("href");
if (typeof target === 'string') {
$("body").animate({
scrollTop: ($(target).offset().top) + "px"