mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
Use padcookie instead of raw prefs cookie reading
This commit is contained in:
parent
7790c5606b
commit
582e2c3819
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ var pad = {
|
||||||
// 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();
|
padcookie.init();
|
||||||
if (!readCookie("prefs"))
|
if (padcookie.wasNoCookie())
|
||||||
{
|
{
|
||||||
$('#loading').hide();
|
$('#loading').hide();
|
||||||
$('#noCookie').show();
|
$('#noCookie').show();
|
||||||
|
|
Loading…
Reference in a new issue