Use padcookie instead of raw prefs cookie reading

This commit is contained in:
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.
// Otherwise it shows up a message to the user.
padcookie.init();
if (!readCookie("prefs"))
if (padcookie.wasNoCookie())
{
$('#loading').hide();
$('#noCookie').show();