Skip to content
Snippets Groups Projects
Commit 1e28b7ce authored by echicken's avatar echicken :chicken:
Browse files

For FileEntry.name, just return base if ext is empty.

parent f50407e9
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -96,7 +96,7 @@ function FileBase(dir) {
Object.defineProperty(FileEntry.prototype, "name", {
enumerable: true,
get: function() {
return this.base+'.'+this.ext;
return this.ext ? this.base+'.'+this.ext : this.base;
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment