aboutsummaryrefslogtreecommitdiff
path: root/weblog/static
diff options
context:
space:
mode:
authorYaroslsav-95 <contact@yaroslavps.com>2018-10-08 12:21:24 +0300
committerYaroslsav-95 <contact@yaroslavps.com>2018-10-08 12:21:24 +0300
commit59b9260b28d330f89cb493a7c0ebfbf177be9e8c (patch)
tree888dd6da911ccdd273e84431b484736b4b4d12aa /weblog/static
parent7851ef3fd924987468b377b890cb37962805e6dc (diff)
downloadw3blog-59b9260b28d330f89cb493a7c0ebfbf177be9e8c.tar.gz
w3blog-59b9260b28d330f89cb493a7c0ebfbf177be9e8c.zip
minor fixes
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");