diff options
author | Mikk Andresen <mikk.andresen@gmail.com> | 2017-05-05 11:07:54 +0300 |
---|---|---|
committer | Mikk Andresen <mikk.andresen@gmail.com> | 2017-05-05 11:07:54 +0300 |
commit | 582e2c3819bbecb41bad55b5a66ceb7b3bc3aaac (patch) | |
tree | c9c63024b68b13be29eefba9bcaa98f94be32d6a | |
parent | 7790c5606bfb6fefb11aab8b00f2d7caecfa127a (diff) | |
download | etherpad-lite-582e2c3819bbecb41bad55b5a66ceb7b3bc3aaac.zip |
Use padcookie instead of raw prefs cookie reading
-rw-r--r-- | src/static/js/pad.js | 2 |
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(); |