mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Remove test cookie
This commit is contained in:
parent
44370f11be
commit
93dae51cda
1 changed files with 1 additions and 2 deletions
|
@ -502,8 +502,7 @@ var pad = {
|
||||||
// To use etherpad you have to allow cookies.
|
// To use etherpad you have to allow cookies.
|
||||||
// This will check if the creation of a test-cookie has success.
|
// This will check if the creation of a test-cookie has success.
|
||||||
// Otherwise it shows up a message to the user.
|
// Otherwise it shows up a message to the user.
|
||||||
createCookie("test", "test");
|
if (!readCookie("prefs"))
|
||||||
if (!readCookie("test"))
|
|
||||||
{
|
{
|
||||||
$('#loading').hide();
|
$('#loading').hide();
|
||||||
$('#noCookie').show();
|
$('#noCookie').show();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue