Use padcookie instead of raw prefs cookie reading

pull/3187/head
Mikk Andresen 2017-05-05 11:07:54 +03:00
parent 7790c5606b
commit 582e2c3819
1 changed files with 1 additions and 1 deletions

View File

@ -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();