From 93dae51cda127ca4aecf5e31d3d74ab04719d8e3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 8 Jun 2016 20:08:50 +0200 Subject: [PATCH] Remove test cookie --- src/static/js/pad.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 25b1a24d5..2009d1245 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -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();