mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +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.
|
||||
// Otherwise it shows up a message to the user.
|
||||
padcookie.init();
|
||||
if (!readCookie("prefs"))
|
||||
if (padcookie.wasNoCookie())
|
||||
{
|
||||
$('#loading').hide();
|
||||
$('#noCookie').show();
|
||||
|
|
Loading…
Reference in a new issue