fix index js warning

This commit is contained in:
Michael Shamoon 2022-03-29 15:28:55 -07:00
parent 9147e3a0bd
commit 40b07572a9

View File

@ -23,8 +23,10 @@
<script type="text/javascript">
setTimeout(() => {
let warning = document.getElementsByClassName('warning').item(0)
warning.classList.remove('hide')
warning.classList.add('show')
if (warning) {
warning.classList.remove('hide')
warning.classList.add('show')
}
}, 8000)
</script>
<style type="text/css">