Try to init cookies before testing if it exists
This commit is contained in:
parent
aefa617797
commit
8084400e13
|
@ -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 New Issue