summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/js/pad.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index c967e461..0c825eeb 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();