summaryrefslogtreecommitdiff
path: root/src/static/js/pad_cookie.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/pad_cookie.js')
-rw-r--r--src/static/js/pad_cookie.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad_cookie.js b/src/static/js/pad_cookie.js
index 72eb3fe9..f6ef1aa4 100644
--- a/src/static/js/pad_cookie.js
+++ b/src/static/js/pad_cookie.js
@@ -33,7 +33,7 @@ var padcookie = (function()
return null;
}
// look for (start of string OR semicolon) followed by whitespace followed by prefs=(something);
- var regexResult = document.cookie.match(new RegExp("(?:^|;)\s*" + cookieName + "=([^;]*)(?:;|$)"));
+ var regexResult = document.cookie.match(new RegExp("(?:^|;)\\s*" + cookieName + "=([^;]*)(?:;|$)"));
if ((!regexResult) || (!regexResult[1]))
{
return null;