Try to init cookies before testing if it exists

pull/3000/head
Stefan 2016-12-20 21:57:01 +01:00
parent aefa617797
commit 8084400e13
1 changed files with 1 additions and 0 deletions

View File

@ -452,6 +452,7 @@ var pad = {
// 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();
if (!readCookie("prefs"))
{
$('#loading').hide();