Merge pull request #2488 from Jay2k1/addAsteriskOnCopy

Add asterisk in front of nick in action lines
This commit is contained in:
Pavel Djundik 2018-06-01 19:43:30 +03:00 committed by GitHub
commit f1ad8fa8f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);