1
0

Clean up un-needed code

This commit is contained in:
suroh 2025-03-22 09:16:21 +01:00
parent 9397424aae
commit 60a8fc2a7a
3 changed files with 0 additions and 5 deletions

@ -29,7 +29,6 @@ export default function (config) {
config.addPassthroughCopy({
'src/assets': '/',
'./node_modules/view-transitions-polyfill/dist/view-transitions-polyfill.js': '/scripts/vtpolyfill.js',
'src/admin': '/admin',
})

@ -24,9 +24,6 @@
<!-- styles -->
<link href="/styles/main.css" rel="stylesheet" webc:keep>
<!-- scripts -->
<script src="/scripts/vtpolyfill.js" webc:keep></script>
<!-- components -->
<style @raw="getBundle('css')" webc:keep></style>
<script type="module" @raw="getBundle('js')" webc:keep></script>

@ -107,7 +107,6 @@ customElements.define('alx-nav', class AlxNav extends HTMLElement {
})
this.addEventListener('mouseleave', () => {
console.log('leave')
AlxNav.hoveredNavs.delete(this)
if (!AlxNav.hoveredNavs.size) {
AlxNav.allNavs.forEach(n => n.setDefaultState())