From 53927dab00a59a64bfb93490f7efbe4491fff3d4 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 31 Oct 2016 21:53:12 +0000 Subject: [PATCH] fix delete on single file view --- _embed/public/js/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_embed/public/js/application.js b/_embed/public/js/application.js index f8f5bc36..5f5a0340 100644 --- a/_embed/public/js/application.js +++ b/_embed/public/js/application.js @@ -113,7 +113,7 @@ var deleteEvent = function(event) { let single = false; if (!selectedItems.length) { - selectedItems = [window.location]; + selectedItems = [window.location.pathname]; single = true; }