aboutsummaryrefslogtreecommitdiff
path: root/static/js/mobile.js
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-09 23:29:31 -0300
committerLibravatar Choom 2023-01-10 03:10:23 -0300
commit95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085 (patch)
tree905a45902c861753aea8fb588758fb105a668c53 /static/js/mobile.js
parent9e2ca4cadd7d693d5b7e8505784ccee72d9be8da (diff)
downloadweabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.tar.gz
weabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.tar.xz
weabot-95cfa9ae52b4e09e6a623e5135b10bc2fb0fa085.zip
Arreglando borrado
Diffstat (limited to 'static/js/mobile.js')
-rw-r--r--static/js/mobile.js19
1 files changed, 6 insertions, 13 deletions
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() {