Skip to content
Snippets Groups Projects

Fix missing cookie banner

Merged Christopher Guindon requested to merge github/fork/chrisguindon/cguindon/master/cc into master
2 files
+ 7
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -70,7 +70,8 @@ window.addEventListener("load", function() {
@@ -70,7 +70,8 @@ window.addEventListener("load", function() {
}
}
},
},
onInitialise: function(status, options) {
onInitialise: function(status, options) {
if (!document.getElementsByClassName("toolbar-manage-cookies")) {
var toolbar = document.getElementsByClassName("toolbar-manage-cookies");
 
if (toolbar.length <= 0) {
setTimeout(function() {
setTimeout(function() {
document.getElementsByClassName("cc-revoke")[0].style.display = "block";
document.getElementsByClassName("cc-revoke")[0].style.display = "block";
});
});
Loading