Skip to content

Commit 2afd809

Browse files
author
Stedra Kristóf
committed
Remove nav tick listener
1 parent 4c3bdc0 commit 2afd809

File tree

1 file changed

+1
-5
lines changed
  • src/AutSoft.AspNetCore.Blazor/wwwroot/lib

1 file changed

+1
-5
lines changed

src/AutSoft.AspNetCore.Blazor/wwwroot/lib/nav.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ function init_nav() {
4141

4242
init_nav();
4343

44-
window.addEventListener('nav::tick', function (e) {
45-
46-
})
47-
4844
function nav_dispatch(e = null) {
49-
window.dispatchEvent(new CustomEvent('nav::tick', {
45+
window.dispatchEvent(new CustomEvent('nav::state_changed', {
5046
detail: {
5147
nav_prev_position: nav_prev_position,
5248
nav_position: nav_position,

0 commit comments

Comments
 (0)