From f87976cc8b6100ab3f912f0acc5233a1f9dbb68c Mon Sep 17 00:00:00 2001 From: Ash Date: Wed, 11 Jan 2023 07:16:54 +0400 Subject: [PATCH] Pygmalion 6b fix --- public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.html b/public/index.html index 48c68a5d9..a4484e357 100644 --- a/public/index.html +++ b/public/index.html @@ -588,6 +588,9 @@ item =item+" "+ anchorBottom+"\n"; } if(is_pygmalion){ + if(i >= arrMes.length-1 && $.trim(item).substr(0, (name1+":").length) == name1+":"){ + item =item+name2+":"; + } if($.trim(item).indexOf(name1) === 0){ item = item.replace(name1+':', 'You:'); }