Skip to content
Snippets Groups Projects
Commit fc0ee942 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: fix link color

Change-Id: I7d59a8f1cfd01469463864905c3f2ad983afeb95
GitLab: #961
parent b2643f59
No related branches found
No related tags found
No related merge requests found
......@@ -85,5 +85,9 @@ function parseMessage(messageId, message, showPreview, color='#0645AD') {
}
if (showPreview)
getPreviewInfo(messageId, links[0].href)
window.jsbridge.emitLinkified(messageId, linkifyStr(message, color))
window.jsbridge.emitLinkified(messageId, linkifyStr(message, {
attributes: {
style: "color:" + color + ";"
}
}))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment