Commit b85cbc46 authored by Tom Kunze's avatar 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
......@@ -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": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment