aboutsummaryrefslogtreecommitdiff
path: root/static/js/posts.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/posts.js')
-rw-r--r--static/js/posts.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/posts.js b/static/js/posts.js
index 30f4893..29541c0 100644
--- a/static/js/posts.js
+++ b/static/js/posts.js
@@ -3,12 +3,13 @@ function startNewPost(){
el.style="display:none;";
el.setAttribute("state", "1");
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);