diff --git a/navigator/navigator.js b/navigator/navigator.js index d5c257a..36659f5 100644 --- a/navigator/navigator.js +++ b/navigator/navigator.js @@ -1382,7 +1382,7 @@ class NavWindow { this.window = document.getElementById("nav-contents-view"); this.window.addEventListener("click", this); this.window.addEventListener("contextmenu", this); - window.addEventListener("keydown", this); + this.window.addEventListener("keydown", this); this.last_selected_index = -1; this.context_menu = new NavContextMenu("nav-context-menu", this);