diff options
author | neptune | 2022-11-25 17:59:09 -0300 |
---|---|---|
committer | neptune | 2022-11-25 17:59:09 -0300 |
commit | b09e855283b8521caa35e1aa0762cf8e986559d4 (patch) | |
tree | 2d1459eba210e2f7415b00d450fbc7cce700ff2f /static/js/shobon.js | |
parent | 0889034f67f8d8cadc98dcbefcd7021b42a00408 (diff) | |
download | weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.gz weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.xz weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.zip |
Actualizado repo
Diffstat (limited to 'static/js/shobon.js')
-rw-r--r-- | static/js/shobon.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/shobon.js b/static/js/shobon.js index d4b345c..c710bac 100644 --- a/static/js/shobon.js +++ b/static/js/shobon.js @@ -75,6 +75,7 @@ function shobon() { for (var e = 0; e < replyList.length; e++) { var reply = replyList[e]; var message = reply.getElementsByClassName("msg")[0]; + var id = 0; if (shobon_time != "false") { var date = reply.getElementsByClassName("date")[0]; @@ -82,7 +83,7 @@ function shobon() { this.title = "Hace " + timeAgo(this.dataset.unix); }); if (date.textContent.includes("ID:")) - var id = date.textContent.split(" ")[1]; + id = date.textContent.split(" ")[1]; date.textContent = localTime(date.dataset.unix, id); } |