mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-21 10:38:28 +00:00
fix delete on single file view
This commit is contained in:
parent
730d6cd729
commit
53927dab00
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ var deleteEvent = function(event) {
|
|||
let single = false;
|
||||
|
||||
if (!selectedItems.length) {
|
||||
selectedItems = [window.location];
|
||||
selectedItems = [window.location.pathname];
|
||||
single = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue