Fix stripping colours from notifications

This commit is contained in:
Pavel Djundik 2016-03-05 21:40:49 +02:00
parent 46c2eabac2
commit 5877e2ebe5

View file

@ -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, {