diff options
author | Choom | 2023-01-09 23:29:31 -0300 |
---|---|---|
committer | Choom | 2023-01-10 03:10:23 -0300 |
commit | 95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085 (patch) | |
tree | 905a45902c861753aea8fb588758fb105a668c53 /static/js/weabotxt.js | |
parent | 9e2ca4cadd7d693d5b7e8505784ccee72d9be8da (diff) | |
download | weabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.tar.gz weabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.tar.xz weabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.zip |
Arreglando borrado
Diffstat (limited to 'static/js/weabotxt.js')
-rw-r--r-- | static/js/weabotxt.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/weabotxt.js b/static/js/weabotxt.js index 93850d9..ea060f8 100644 --- a/static/js/weabotxt.js +++ b/static/js/weabotxt.js @@ -108,13 +108,13 @@ function previewPost(e) { e.target.className = 'active'; preview.textContent = 'Cargando...'; - if (!thread) { // new thread + if (thread == '0') { // new thread document.getElementById('tr_preview').removeAttribute('style'); } else { preview.removeAttribute('style'); } } else { // hide it - if (!thread) { // new thread + if (thread == '0') { // new thread document.getElementById('tr_preview').style.display = 'none'; } else { preview.style.display = 'none'; |