Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
totem
website
Commits
6424d2e6
Commit
6424d2e6
authored
Jan 13, 2021
by
Maarten de Waard
🤘🏻
Browse files
Apply 1 suggestion(s) to 1 file(s)
parent
13b422eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/javascripts/index.js
View file @
6424d2e6
...
...
@@ -71,7 +71,7 @@
var
domain
=
window
.
location
.
hostname
;
var
cookieParams
=
"
domain=.
"
+
domain
+
"
;path=/;SameSite=Strict;
"
;
if
(
window
.
location
.
protocol
==
"
https
"
)
{
cookieParams
+=
"
secure=true;
"
cookieParams
+=
"
secure=true;
"
;
}
document
.
cookie
=
"
openedx-language-preference=
"
+
lang
+
"
;expires=
"
+
expiryDate
+
"
;
"
+
cookieParams
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment