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