diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-20 16:38:18 -0300 |
---|---|---|
committer | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-20 16:38:18 -0300 |
commit | 8d28fd2ad688051fe06813026d82661b76617602 (patch) | |
tree | 6b8959d49acdb95f57dd10717e729a98e252471f /static/js/posts.js | |
parent | 683de5193680d4c8d9df2b273daa17b4c4f847d7 (diff) |
grid theme, fix close button in table, post popup
Diffstat (limited to 'static/js/posts.js')
-rw-r--r-- | static/js/posts.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |