Remove test cookie

This commit is contained in:
Stefan 2016-06-08 20:08:50 +02:00
parent 44370f11be
commit 93dae51cda
1 changed files with 1 additions and 2 deletions

View File

@ -502,8 +502,7 @@ var pad = {
// To use etherpad you have to allow cookies.
// This will check if the creation of a test-cookie has success.
// Otherwise it shows up a message to the user.
createCookie("test", "test");
if (!readCookie("test"))
if (!readCookie("prefs"))
{
$('#loading').hide();
$('#noCookie').show();