diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/css/txt/bbs.css | 1 | ||||
-rw-r--r-- | static/js/mobile.js | 19 | ||||
-rw-r--r-- | static/js/weabotxt.js | 4 |
3 files changed, 8 insertions, 16 deletions
diff --git a/static/css/txt/bbs.css b/static/css/txt/bbs.css index cc90ff0..e66ca61 100644 --- a/static/css/txt/bbs.css +++ b/static/css/txt/bbs.css @@ -395,7 +395,6 @@ form .msg { .reply h4, .quoted { font-size: 10px; - line-height: 12px; } #threadlist a { font-size: 10px; diff --git a/static/js/mobile.js b/static/js/mobile.js index 36747e8..7a44c14 100644 --- a/static/js/mobile.js +++ b/static/js/mobile.js @@ -115,13 +115,9 @@ function showMenu(e) { if (reason) { var rep_req = new XMLHttpRequest(); var report = - "/cgi/report/" + - brd + - "/" + - id + - (num ? "/" + num : "") + - "?reason=" + - reason; + "/cgi/report/" + brd + + "/" + id + (num ? "/" + num : "") + + "?reason=" + reason; rep_req.open("GET", report, true); rep_req.send(); rep_req.onreadystatechange = function() { @@ -140,12 +136,9 @@ function showMenu(e) { ) { var del_req = new XMLHttpRequest(); var del_form = - "/cgi/api/delete?dir=" + - brd + - "&id=" + - id + - "&password=" + - postform.password.value; + "/cgi/api/delete?dir=" + brd + + "&id=" + id + + "&password=" + postform.password.value; del_req.open("GET", del_form, true); del_req.send(); del_req.onreadystatechange = function() { 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'; |