Fix log highlight
This commit is contained in:
parent
6c6e76afda
commit
e4b4e0e065
@ -533,9 +533,6 @@ button {
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
#chat .wrap {
|
||||
display: block;
|
||||
}
|
||||
#chat .wrap,
|
||||
#chat .text a {
|
||||
font-style: normal;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "shout",
|
||||
"description": "The self-hosted web IRC client",
|
||||
"version": "0.38.2",
|
||||
"version": "0.38.3",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
@ -19,7 +19,8 @@ module.exports = {
|
||||
var time = moment().zone(tz).format(format);
|
||||
var line = "[" + time + "] ";
|
||||
|
||||
if (msg.type == "message") {
|
||||
var type = msg.type.trim();
|
||||
if (type == "message" || type == "highlight") {
|
||||
// Format:
|
||||
// [2014-01-01 00:00:00] <Arnold> Put that cookie down.. Now!!
|
||||
line += "<" + msg.from + "> " + msg.text;
|
||||
|
Loading…
Reference in New Issue
Block a user