hide whiteboard palette in view mode

This commit is contained in:
ansuz 2017-12-20 11:01:23 +01:00
parent cfc9ce33d6
commit 3177fd7857
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html class="cp-app-noscroll">
<head> <head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script async data-bootload="/whiteboard/inner.js" data-main="/common/sframe-boot.js?ver=1.6" src="/bower_components/requirejs/require.js?ver=2.3.5"></script> <script async data-bootload="/whiteboard/inner.js" data-main="/common/sframe-boot.js?ver=1.6" src="/bower_components/requirejs/require.js?ver=2.3.5"></script>

View File

@ -504,6 +504,9 @@ define([
common.openFilePicker(pickerCfg); common.openFilePicker(pickerCfg);
}).appendTo($rightside); }).appendTo($rightside);
} }
} else {
$colors.hide();
$controls.hide();
} }
metadataMgr.onChange(function () { metadataMgr.onChange(function () {