Fix templates in whiteboard
parent
732585ea7b
commit
3023e8c855
|
@ -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"
|
||||
|
|
|
@ -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 = $('<div>').append(Pages['/whiteboard/']());
|
||||
$('body').append($div.html());
|
||||
}));
|
||||
SFCommon.create(waitFor(function (c) { APP.common = common = c; }));
|
||||
}).nThen(function (/*waitFor*/) {
|
||||
|
|
Loading…
Reference in New Issue