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
|
// Update the user list (metadata) from the hyperjson
|
||||||
Metadata.update(userDoc);
|
Metadata.update(userDoc);
|
||||||
|
|
||||||
editor.setValue(newDoc || initialState);
|
editor.setValue(newDoc || initialState);
|
||||||
|
|
||||||
if (Cryptpad.initialName && Title.isDefaultTitle()) {
|
if (Cryptpad.initialName && Title.isDefaultTitle()) {
|
||||||
@ -593,7 +592,6 @@ define([
|
|||||||
slideNumber = ' (' + ++n + '/' + l + ')';
|
slideNumber = ' (' + ++n + '/' + l + ')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log("Exiting presentation mode");
|
|
||||||
document.title = Title.title + slideNumber;
|
document.title = Title.title + slideNumber;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -602,6 +600,7 @@ define([
|
|||||||
initializing = false;
|
initializing = false;
|
||||||
|
|
||||||
onLocal(); // push local state to avoid parse errors later.
|
onLocal(); // push local state to avoid parse errors later.
|
||||||
|
Slide.update(editor.getValue());
|
||||||
|
|
||||||
if (readOnly) { return; }
|
if (readOnly) { return; }
|
||||||
UserList.getLastName(toolbar.$userNameButton, isNew);
|
UserList.getLastName(toolbar.$userNameButton, isNew);
|
||||||
|
|||||||
@ -201,7 +201,7 @@ body .CodeMirror-focused .cm-matchhighlight {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
z-index: 100;
|
z-index: 100000;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -200,7 +200,7 @@ div.modal, div#modal {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
z-index: 100;
|
z-index: 100000;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user