mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Try to init cookies before testing if it exists
This commit is contained in:
parent
aefa617797
commit
8084400e13
1 changed files with 1 additions and 0 deletions
|
@ -452,6 +452,7 @@ var pad = {
|
||||||
// To use etherpad you have to allow cookies.
|
// To use etherpad you have to allow cookies.
|
||||||
// This will check if the prefs-cookie is set.
|
// This will check if the prefs-cookie is set.
|
||||||
// Otherwise it shows up a message to the user.
|
// Otherwise it shows up a message to the user.
|
||||||
|
padcookie.init();
|
||||||
if (!readCookie("prefs"))
|
if (!readCookie("prefs"))
|
||||||
{
|
{
|
||||||
$('#loading').hide();
|
$('#loading').hide();
|
||||||
|
|
Loading…
Reference in a new issue