diff options
author | Señor X | 2019-03-31 06:35:04 -0300 |
---|---|---|
committer | Señor X | 2019-03-31 06:35:04 -0300 |
commit | df82b74482a8a4c423320775796d7c34dfedceda (patch) | |
tree | 131062cc87d04e27fee45bce1562289bb696ea4a /static/js/autorefresh.js | |
parent | 5c900ca03f0dee646bc40aa0f30aedf259988370 (diff) | |
download | weabot-df82b74482a8a4c423320775796d7c34dfedceda.tar.gz weabot-df82b74482a8a4c423320775796d7c34dfedceda.tar.xz weabot-df82b74482a8a4c423320775796d7c34dfedceda.zip |
Agregando delegación a # y del en BBS
Diffstat (limited to 'static/js/autorefresh.js')
-rw-r--r-- | static/js/autorefresh.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/autorefresh.js b/static/js/autorefresh.js index b09758c..31cecbf 100644 --- a/static/js/autorefresh.js +++ b/static/js/autorefresh.js @@ -58,7 +58,7 @@ function updateThread(posts, total_replies, serverTime) { if (post.IS_DELETED == 1) div.innerHTML = '<h4 class="deleted">' + num + ' : Mensaje eliminado por el usuario.</h4>'; else if (post.IS_DELETED == 2) div.innerHTML = '<h4 class="deleted">' + num + ' : Mensaje eliminado por miembro del staff.</h4>'; else - div.innerHTML = '<h4>' + num + ' : ' + s_name + ' : <span class="date" data-unix="' + post.timestamp + '">' + post.timestamp_formatted + '</span> <span class="del"><a href="/cgi/report/' + board + '/' + post.id + '/' + num + '">rep</a> <a href="#">del</a></span></h4>' + s_img + '<div class="msg">' + post.message + '</div>'; + div.innerHTML = '<h4><a class="num" href="#">' + num + '</a> : ' + s_name + ' : <span class="date" data-unix="' + post.timestamp + '">' + post.timestamp_formatted + '</span> <span class="del"><a href="/cgi/report/' + board + '/' + post.id + '/' + num + '">rep</a> <a href="#">del</a></span></h4>' + s_img + '<div class="msg">' + post.message + '</div>'; } else { if (post.file) { if (post.image_width != 0) { |