aboutsummaryrefslogtreecommitdiff
path: root/weblog/static
diff options
context:
space:
mode:
Diffstat (limited to 'weblog/static')
-rwxr-xr-xweblog/static/weblog/js/weblog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/weblog/static/weblog/js/weblog.js b/weblog/static/weblog/js/weblog.js
index 654fb4a..3e9ceba 100755
--- a/weblog/static/weblog/js/weblog.js
+++ b/weblog/static/weblog/js/weblog.js
@@ -20,8 +20,8 @@ function floatSidebar(){
document.querySelector(".breadcrumb").offsetHeight;
if((document.body.scrollTop > offset || document.documentElement.scrollTop > offset)){
sidebar.classList.add("float");
- sidebar.style.left = blog_content.offsetLeft + blog_content.offsetWidth + "px";
sidebar_filler.classList.remove("hidden");
+ sidebar.style.left = blog_content.offsetLeft + blog_content.offsetWidth + "px";
}
else{
sidebar.classList.remove("float");