mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
pad: Initialize pad cookie before starting the handshake
This commit is contained in:
parent
f6c5ce606e
commit
9fb754ce3a
1 changed files with 1 additions and 6 deletions
|
@ -397,13 +397,8 @@ const pad = {
|
||||||
if (window.customStart != null) window.customStart();
|
if (window.customStart != null) window.customStart();
|
||||||
$('#colorpicker').farbtastic({callback: '#mycolorpickerpreview', width: 220});
|
$('#colorpicker').farbtastic({callback: '#mycolorpickerpreview', width: 220});
|
||||||
$('#readonlyinput').on('click', () => { padeditbar.setEmbedLinks(); });
|
$('#readonlyinput').on('click', () => { padeditbar.setEmbedLinks(); });
|
||||||
|
|
||||||
handshake();
|
|
||||||
|
|
||||||
// To use etherpad you have to allow cookies.
|
|
||||||
// This will check if the prefs-cookie is set.
|
|
||||||
// Otherwise it shows up a message to the user.
|
|
||||||
padcookie.init();
|
padcookie.init();
|
||||||
|
handshake();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
_afterHandshake() {
|
_afterHandshake() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue