summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan <mu.stefan@googlemail.com>2016-12-20 21:57:01 +0100
committerStefan <mu.stefan@googlemail.com>2016-12-20 21:57:01 +0100
commit8084400e13e561813aed3759fd16e4567d3bdb39 (patch)
tree4f150e5771be5de51eb6a7ea61d355362e5cb281 /src
parentaefa61779777983fb1ef78d8d3c65e226202a4de (diff)
downloadetherpad-lite-8084400e13e561813aed3759fd16e4567d3bdb39.zip
Try to init cookies before testing if it exists
Diffstat (limited to 'src')
-rw-r--r--src/static/js/pad.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index f6642654..c967e461 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -452,6 +452,7 @@ var pad = {
// To use etherpad you have to allow cookies.
// This will check if the prefs-cookie is set.
// Otherwise it shows up a message to the user.
+ padcookie.init();
if (!readCookie("prefs"))
{
$('#loading').hide();