Skip to content
Snippets Groups Projects
Commit a3be2e68 authored by Vic Nguyen's avatar Vic Nguyen :ghost:
Browse files

Only show this to index file

parent a59f438f
No related branches found
No related tags found
1 merge request!32Beta notification
Pipeline #76697 canceled
......@@ -49,9 +49,7 @@
<!-- Modal -->
<script>
document.addEventListener("DOMContentLoaded", function() {
// Check if 'dv-maintaince-consent' exists in localStorage
if (!localStorage.getItem('dv-maintaince-consent')) {
// If not present, show the modal
if (window.location.pathname === '/' && !localStorage.getItem('dv-maintaince-consent')) {
var myModal = new bootstrap.Modal(document.getElementById('staticBackdrop'));
myModal.show();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment