From 8d28fd2ad688051fe06813026d82661b76617602 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Fri, 20 Aug 2021 16:38:18 -0300 Subject: grid theme, fix close button in table, post popup --- static/js/posts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/js') diff --git a/static/js/posts.js b/static/js/posts.js index 39808dd..29541c0 100644 --- a/static/js/posts.js +++ b/static/js/posts.js @@ -2,14 +2,14 @@ function startNewPost(){ var el = document.getElementById("newpostbtn"); el.style="display:none;"; el.setAttribute("state", "1"); - document.getElementById("stopTablePost").style=""; document.getElementById("newpost").style = ""; + document.getElementById("stopTablePost").style = "display:unset;"; sessionStorage.setItem("newpostState", true); } function stopNewPost(){ var el = document.getElementById("newpostbtn"); - el.style="display:block;"; + el.style="display:block;margin-bottom:100px;"; el.setAttribute("state", "0"); document.getElementById("newpost").style = "display: none;"; sessionStorage.setItem("newpostState", false); -- cgit v1.2.3