mirror of https://github.com/xwiki-labs/cryptpad
Update the preview and present content on Ready in slides
This commit is contained in:
parent
54adb680e7
commit
d3b9ac2511
|
@ -572,7 +572,6 @@ define([
|
|||
|
||||
// Update the user list (metadata) from the hyperjson
|
||||
Metadata.update(userDoc);
|
||||
|
||||
editor.setValue(newDoc || initialState);
|
||||
|
||||
if (Cryptpad.initialName && Title.isDefaultTitle()) {
|
||||
|
@ -593,7 +592,6 @@ define([
|
|||
slideNumber = ' (' + ++n + '/' + l + ')';
|
||||
}
|
||||
}
|
||||
console.log("Exiting presentation mode");
|
||||
document.title = Title.title + slideNumber;
|
||||
});
|
||||
|
||||
|
@ -602,6 +600,7 @@ define([
|
|||
initializing = false;
|
||||
|
||||
onLocal(); // push local state to avoid parse errors later.
|
||||
Slide.update(editor.getValue());
|
||||
|
||||
if (readOnly) { return; }
|
||||
UserList.getLastName(toolbar.$userNameButton, isNew);
|
||||
|
|
|
@ -201,7 +201,7 @@ body .CodeMirror-focused .cm-matchhighlight {
|
|||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 100;
|
||||
z-index: 100000;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ div.modal, div#modal {
|
|||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 100;
|
||||
z-index: 100000;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue