diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-13 10:17:40 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-09-13 10:17:40 +0300 |
commit | 5d31490e198388d2e5b5c544c0f22aba302e8563 (patch) | |
tree | 5847549e834372e3dd801ca17e4ab584980a1f7d /js | |
parent | efc1815a1a57114f15b591f53e3822cc38d8146c (diff) |
Fix file list selectors
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/files.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/files.js b/js/files.js index b50cc07..dce41dd 100644 --- a/js/files.js +++ b/js/files.js @@ -8,7 +8,7 @@ var appName = RightClick.appName; - new RightClick.Menu($('tbody[id=fileList]'), function (event, context, delimiter) { + new RightClick.Menu($('tbody[class=files-fileList]'), function (event, context, delimiter) { var options = new RightClick.Options(); var currentFile = $(event.target).closest('tr'); var selectedActions = '.selectedActions .menu-center li'; @@ -116,7 +116,7 @@ }, 100); return options; - }, $('#app-content-files #fileList'), function () { + }, $('#app-content-files .files-fileList'), function () { $('.filesSelectMenu').css('visibility', 'visible'); }); })(window, jQuery, RightClick); |