From bf0fc6d7dccdd7b69099e72e6d03dd695c694811 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 5 Aug 2019 09:26:53 -0700 Subject: [PATCH] Fixed partly hidden sub-menus, removed AV status. --- agents/meshcore.js | 4 ++-- agents/meshcore.min.js | 4 ++-- public/styles/style.css | 3 ++- views/messenger-min.handlebars | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/agents/meshcore.js b/agents/meshcore.js index 29753fb9..3ff349dc 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -2241,8 +2241,8 @@ function createMeshCore(agent) if ((flags & 4) && (process.platform == 'win32')) { // Update anti-virus information - var av = null; - try { av = require('win-info').av(); } catch (ex) { av = { product: 'Error', updated: false, enabled: false }; } + var av = []; + //try { av = require('win-info').av(); } catch (ex) { av = [ { product: 'Error', updated: false, enabled: false } ]; } if ((meshCoreObj.av == null) || (JSON.stringify(meshCoreObj.av) != JSON.stringify(av))) { meshCoreObj.av = av; mesh.SendCommand(meshCoreObj); } } } diff --git a/agents/meshcore.min.js b/agents/meshcore.min.js index 29753fb9..3ff349dc 100644 --- a/agents/meshcore.min.js +++ b/agents/meshcore.min.js @@ -2241,8 +2241,8 @@ function createMeshCore(agent) if ((flags & 4) && (process.platform == 'win32')) { // Update anti-virus information - var av = null; - try { av = require('win-info').av(); } catch (ex) { av = { product: 'Error', updated: false, enabled: false }; } + var av = []; + //try { av = require('win-info').av(); } catch (ex) { av = [ { product: 'Error', updated: false, enabled: false } ]; } if ((meshCoreObj.av == null) || (JSON.stringify(meshCoreObj.av) != JSON.stringify(av))) { meshCoreObj.av = av; mesh.SendCommand(meshCoreObj); } } } diff --git a/public/styles/style.css b/public/styles/style.css index d76f70e2..a6bd80a5 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -317,7 +317,8 @@ body { } .room4submenu { - min-height: calc(100vh - 159px); + /*min-height: calc(100vh - 159px);*/ + min-height: calc(100vh - 184px); } #centralTable { diff --git a/views/messenger-min.handlebars b/views/messenger-min.handlebars index e2159fe1..524dd730 100644 --- a/views/messenger-min.handlebars +++ b/views/messenger-min.handlebars @@ -1 +1 @@ - MeshMessenger
MeshMessenger
\ No newline at end of file + MeshMessenger
MeshMessenger
\ No newline at end of file