Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/progrhyme/hugo-theme-bootie-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorkey-amb <yasutake.kiyoshi@gmail.com>2016-05-06 07:14:44 +0300
committerkey-amb <yasutake.kiyoshi@gmail.com>2016-05-06 07:14:44 +0300
commitfaef4a7e80493ae20a6c6d37f83ddf9c85c9bf3e (patch)
treea02aa838c1509ca6983bdf6f9a6d6da31b74c73c /static
parent22423b24b4907083010430d87b135884a10bd8ef (diff)
Fix #11
Diffstat (limited to 'static')
-rw-r--r--static/js/bootie-docs.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/js/bootie-docs.js b/static/js/bootie-docs.js
index bea33ae..22ede36 100644
--- a/static/js/bootie-docs.js
+++ b/static/js/bootie-docs.js
@@ -29,5 +29,12 @@ window.onload = function() {
});
}
});
- }
+ }
+}
+
+function resetSidebarPos() {
+ var sideNode = $("#sidebar");
+ if ( $(window).width() > $("main").width() + $("#sidebar").width() ) {
+ sideNode.css({"position": "fixed", "top": "", "bottom": ""});
+ }
} \ No newline at end of file