From 59b9260b28d330f89cb493a7c0ebfbf177be9e8c Mon Sep 17 00:00:00 2001 From: Yaroslsav-95 Date: Mon, 8 Oct 2018 12:21:24 +0300 Subject: minor fixes --- weblog/static/weblog/js/weblog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weblog/static') 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"); -- cgit v1.2.3