From 582e2c3819bbecb41bad55b5a66ceb7b3bc3aaac Mon Sep 17 00:00:00 2001 From: Mikk Andresen Date: Fri, 5 May 2017 11:07:54 +0300 Subject: [PATCH] Use padcookie instead of raw prefs cookie reading --- src/static/js/pad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();