projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a49cf
)
Formatting colourised strings before inserting values
author
Darren
<darren@darrenwhitlen.com>
Wed, 8 Oct 2014 09:31:42 +0000
(10:31 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 8 Oct 2014 09:31:42 +0000
(10:31 +0100)
client/src/helpers/utils.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/helpers/utils.js
b/client/src/helpers/utils.js
index f0495bc282c281c3ec97ef8caac6c316534cf848..1aae381c5ee59bc42c47e26b34b4813f2b15016f 100644
(file)
--- a/
client/src/helpers/utils.js
+++ b/
client/src/helpers/utils.js
@@
-525,6
+525,7
@@
function styleText(string_id, params) {
//style = formatToIrcMsg(_kiwi.app.text_theme[string_id]);
style = _kiwi.app.text_theme[string_id];
+ style = formatToIrcMsg(style);
// Expand a member mask into its individual parts (nick, ident, hostname)
if (params.member) {
@@
-540,6
+541,5
@@
function styleText(string_id, params) {
return params[key];
});
- text = formatToIrcMsg(text);
return text;
}