Don't load audio if banner isn't loaded

This commit is contained in:
swaggboi 2021-03-14 01:34:35 -05:00
parent ff086bc629
commit 6bf75d3a66

View File

@ -7,12 +7,12 @@
<link rel="stylesheet" type="text/css" href="/css/swagg.css">
</head>
<body>
<% unless (session('banner') eq 'seen') { %>
<!-- Soundtrack -->
<!-- <embed> doesn't work anymore SAD
<embed src="/misc/Smashmouth_-_All_Star.mid" width="100%" height="60">-->
<audio id="soundtrack" src="/Music/Smashmouth-All-Star.mp3" preload="auto">
</audio>
<% unless (session('banner') eq 'seen') { %>
<!-- "GDPR" banner -->
<div id="gdpr">
<b>Notice:</b> This site uses kickass MIDI technology instead of cookies.