CSP tweaks again, login uid fix, mild cleanup

This commit is contained in:
2021-08-11 20:12:35 -04:00
parent 0b45ed9e02
commit ff621bce35
7 changed files with 90 additions and 92 deletions

View File

@@ -31,14 +31,14 @@
<?php } ?>
</div>
</div>
<script nonce="<?=$_SESSION['nonce']?>">window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')</script>
<script nonce="<?=$_SESSION['nonce']?>">
<script nonce="<?=$_SESSION['nonceStr']?>">window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')</script>
<script nonce="<?=$_SESSION['nonceStr']?>">
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
return new bootstrap.Popover(popoverTriggerEl)
})
</script>
<script src="js/bootstrap.min.js" nonce="<?=$_SESSION['nonce']?>"></script>
<script src="js/bootstrap.min.js" nonce="<?=$_SESSION['nonceStr']?>"></script>
<!-- END FOOTER CONTENT -->
</body>
</html>