fix issue with pasting into editor

This commit is contained in:
joshuaboud 2021-06-08 15:53:50 -03:00
parent 16916b5f54
commit 239fafba92
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
1 changed files with 1 additions and 1 deletions

View File

@ -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);