From d1d999ef3abfa2d3deafb795f63c6c18c0bff7ac Mon Sep 17 00:00:00 2001 From: Kasalehlia <kasalehlia@clonejo.de> Date: Mon, 16 Jan 2017 22:42:10 +0100 Subject: [PATCH] appearance changes on brand module --- modules/brand.js | 4 +++- public/css/infodisplay.css | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/brand.js b/modules/brand.js index 9471cb0..98d1bf9 100644 --- a/modules/brand.js +++ b/modules/brand.js @@ -32,8 +32,8 @@ function fetchStatus(cb) { } module.exports = function (io) { + var firstTime = true; function update() { - var firstTime = true; fetchStatus(function (state) { if (status.lastchange != state.lastchange) { var d = new Date(state.lastchange*1000); @@ -48,6 +48,8 @@ module.exports = function (io) { }); renderStatus(io, true); firstTime = false; + } else { + renderStatus(io, false); } }); } diff --git a/public/css/infodisplay.css b/public/css/infodisplay.css index 09b79b9..dd8e98c 100644 --- a/public/css/infodisplay.css +++ b/public/css/infodisplay.css @@ -78,6 +78,7 @@ h3 { } #brand h3 { color: #839496; + margin-left: 10px; } #brand .person { font-style: italic; -- GitLab