Skip to content

Commit

Permalink
fix cookie wrapper not disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
philippotto committed Oct 29, 2017
1 parent 49763b9 commit a8c8a53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
};
</script>

<script type="text/javascript">
var cookieWrappers = document.getElementsByClassName("cc_banner-wrapper");
if (cookieWrappers.length > 0) {
cookieWrappers[0].parentNode.removeChild(cookieWrappers[0]);
}
</script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
<!-- End Cookie Consent plugin -->

Expand Down

0 comments on commit a8c8a53

Please sign in to comment.