diff --git a/src/static/js/pad.js b/src/static/js/pad.js index c967e4615..0c825eeb8 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -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();