From 6f8e26bdbf81d8f253715550bda97fe37024ff3e Mon Sep 17 00:00:00 2001 From: Jay2k1 Date: Wed, 30 May 2018 14:55:11 +0200 Subject: [PATCH] Add asterisk in front of nick in action lines --- client/js/clipboard.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/js/clipboard.js b/client/js/clipboard.js index 8b8ba81b..2b05d47e 100644 --- a/client/js/clipboard.js +++ b/client/js/clipboard.js @@ -22,6 +22,10 @@ function copyMessages() { el.text(`<${el.text()}>`); }); + $(documentFragment) + .find(".content > .user") + .prepend("* "); + div.id = "js-copy-hack"; div.appendChild(documentFragment); chat.appendChild(div);