From 3177fd78578ab3406fdc787fff21fa2ca7890a83 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 20 Dec 2017 11:01:23 +0100 Subject: [PATCH] hide whiteboard palette in view mode --- www/whiteboard/inner.html | 2 +- www/whiteboard/inner.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/www/whiteboard/inner.html b/www/whiteboard/inner.html index b2349ab88..533b4568f 100644 --- a/www/whiteboard/inner.html +++ b/www/whiteboard/inner.html @@ -1,5 +1,5 @@ - + diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index ab04032c6..4e5729fa8 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -504,6 +504,9 @@ define([ common.openFilePicker(pickerCfg); }).appendTo($rightside); } + } else { + $colors.hide(); + $controls.hide(); } metadataMgr.onChange(function () {