From b09e855283b8521caa35e1aa0762cf8e986559d4 Mon Sep 17 00:00:00 2001 From: neptune Date: Fri, 25 Nov 2022 17:59:09 -0300 Subject: Actualizado repo --- static/js/shobon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/js/shobon.js') 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); } -- cgit v1.2.1-18-gbd029