mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Fix stripping colours from notifications
This commit is contained in:
parent
46c2eabac2
commit
5877e2ebe5
1 changed files with 1 additions and 1 deletions
|
@ -697,7 +697,7 @@ $(function() {
|
|||
title += " (" + button.text().trim() + ")";
|
||||
}
|
||||
title += " says:";
|
||||
body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/, "").trim();
|
||||
body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/g, "").trim();
|
||||
}
|
||||
|
||||
var notify = new Notification(title, {
|
||||
|
|
Loading…
Reference in a new issue