Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CipMap
CipMap
Commits
b85cbc46
Commit
b85cbc46
authored
Oct 18, 2021
by
Tom Kunze
Browse files
server/cipmap-ui.js: Fix broken cipmap if cookieconsent js is blocked.
ublock origin may block the javascript inclusion.
parent
07c781c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
django/server/static/server/js/cipmap-ui.js
View file @
b85cbc46
...
...
@@ -772,6 +772,11 @@ function decorateTutorData(data){
}
function
initCookieBar
()
{
if
(
typeof
cookieconsent
===
'
undefined
'
)
{
console
.
log
(
'
[E] cookieconsent not loaded. maybe blocked?
'
);
return
;
}
if
(
Cookies
.
get
(
'
cookieconsent_status
'
)
===
undefined
){
cookieconsent
.
initialise
({
"
palette
"
:
{
...
...
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