don't prompt to download symlink

This commit is contained in:
joshuaboud 2021-06-07 17:11:20 -03:00
parent 34d0f933fa
commit ca4378e41d
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
1 changed files with 1 additions and 4 deletions

View File

@ -610,10 +610,7 @@ class NavFileLink extends NavFile{
this.show_edit_file_contents(); this.show_edit_file_contents();
} else { } else {
console.log("Unknown mimetype: " + type); console.log("Unknown mimetype: " + type);
if (window.confirm("Can't open " + this.filename() + " for editing. Download?")) { window.alert("Can't open " + this.filename() + " for editing.");
var download = new NavDownloader(this);
download.download();
}
} }
} }