Skip to content

Commit

Permalink
Only show bug modal when not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVanDyck committed Feb 18, 2025
1 parent 074cf61 commit 986f8fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion branding/app/themes/vlaanderen/assets/indexBody.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ <h3 data-i18n="index.breakdown.our-data.title"></h3>
</div>

<script type="text/javascript">
var Cookies = require("js-cookie");
$(window).on('load', function() {
$('#bug-modal').modal('show');
const authCookie = Cookies.get("VBP-AUTH");
if(!authCookie) {
$('#bug-modal').modal('show');
}
});
</script>

0 comments on commit 986f8fa

Please sign in to comment.