mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 02:46:15 -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();
|
||||
$('#colorpicker').farbtastic({callback: '#mycolorpickerpreview', width: 220});
|
||||
$('#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();
|
||||
handshake();
|
||||
});
|
||||
},
|
||||
_afterHandshake() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue