fix: 🗑️ remove left over code from beta note banner
TypeError while trying to access null object prevents execution of remaining JavaScript code on page
This commit is contained in:
parent
89b004c262
commit
5a8054e044
1 changed files with 0 additions and 9 deletions
|
@ -7,15 +7,6 @@
|
|||
const getAltText = (name) => name.charAt(0).toUpperCase() + name.slice(1) + ' Avatar';
|
||||
</script>
|
||||
|
||||
<script>
|
||||
const betaNote = document.querySelector('.beta-note');
|
||||
const btn = betaNote.querySelector('.btn');
|
||||
btn.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
betaNote.style = 'display: none';
|
||||
});
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue