fix checking instanceof

This commit is contained in:
joshuaboud 2021-06-04 14:36:50 -03:00
parent 2f987f790a
commit 9189daf1cd
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
1 changed files with 1 additions and 1 deletions

View File

@ -862,7 +862,7 @@ class NavContextMenu {
async download() {
var download_target = "";
if (this.nav_window_ref.selected_entries.size === 1 && !this.target instanceof NavDir) {
if (this.nav_window_ref.selected_entries.size === 1 && !(this.target instanceof NavDir)) {
download_target = this.target;
} else {
this.nav_window_ref.start_load();