Clean up un-needed code
This commit is contained in:
parent
9397424aae
commit
60a8fc2a7a
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user