diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 20b320436..1cd8110b5 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -598,7 +598,6 @@ define([ }, Msg.canvas_width), h('input#cp-app-whiteboard-width', { type: 'range', - value: "5", min: "1", max: "100" }), @@ -610,7 +609,6 @@ define([ }, Msg.canvas_opacity), h('input#cp-app-whiteboard-opacity', { type: 'range', - value: "1", min: "0.1", max: "1", step: "0.1" diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index b8ee7651c..4c5c26d5c 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -456,7 +456,7 @@ define([ Cryptpad.removeLoadingScreen(); setEditable(!readOnly); initializing = false; - config.onRemote(); + config.onLocal(); if (readOnly) { return; } if (isNew) { @@ -535,7 +535,8 @@ define([ nThen(function (waitFor) { $(waitFor(function () { Cryptpad.addLoadingScreen(); - $('body').append(Pages['/whiteboard/']()); + var $div = $('