mirror of https://github.com/xwiki-labs/cryptpad
Fix the taildoc bug
This commit is contained in:
parent
87abfff66b
commit
1772cc93c8
|
@ -139,6 +139,8 @@ define([
|
|||
});
|
||||
};
|
||||
|
||||
|
||||
displayCreateButtons();
|
||||
Cryptpad.ready(function () {
|
||||
console.log("ready");
|
||||
|
||||
|
@ -149,7 +151,6 @@ define([
|
|||
DecorateToolbar.main($('#bottom-bar'));
|
||||
Cryptpad.styleAlerts();
|
||||
|
||||
displayCreateButtons();
|
||||
refreshTable();
|
||||
if (Cryptpad.store && Cryptpad.store.change) {
|
||||
Cryptpad.store.change(function (data) {
|
||||
|
|
|
@ -121,7 +121,6 @@ define([
|
|||
el.setAttribute('class', 'non-realtime');
|
||||
});
|
||||
|
||||
editor.execCommand('maximize');
|
||||
var documentBody = ifrw.$('iframe')[0].contentDocument.body;
|
||||
|
||||
var inner = window.inner = documentBody;
|
||||
|
@ -629,6 +628,8 @@ define([
|
|||
|
||||
// this should only ever get called once, when the chain syncs
|
||||
var onReady = realtimeOptions.onReady = function (info) {
|
||||
editor.execCommand('maximize');
|
||||
|
||||
module.patchText = TextPatcher.create({
|
||||
realtime: info.realtime,
|
||||
//logging: true,
|
||||
|
|
Loading…
Reference in New Issue