GitHub pages popup not working since I enforced https [closed]

I enabled "Enforce HTTPS" on my GitHub Page, my overlay popup doesn't work. It works when I open the site locally on my machine.

 <div id="boxes">
                <div style="top: 50%; left: 50%; display: none;" id="dialog" class="window"> 
                <div id="san">
                <a href="#" class="close agree"><img src="img/btn_close.png" width="25" style="float:right; margin-right: -11px; margin-top: -12px;"></a>
                <br>
                <h1>DISCLAIMER</h1>
                <br>
                The information on this map is not accurate nor does it represent any medical or safety advice. This site is only for education purposes.
                <br><br>
                This map was created by CEVEN.hack. For more information on the project please visit <a href="https://github.com/IneffableKoD/cov19testmap">the repository</a>. 
                <br><br>
                <a href="https://bag-coronavirus.ch/">Offical FOPH information</a>
                <br><br>
                <img src="img/stayhome.png" width="450">
                </div>
                </div>
                <div style="width: 2478px; font-size: 32pt; color:white; height: 1202px; display: none; opacity: 0.4;" id="mask"></div>
                </div>

                <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script> 
                <script src="js/disclaimer.js"></script>

Any help with how I can get my popup working again?

Kind regards Ineff