Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_rightclick.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-09-13 10:17:40 +0300
committerVincent Petry <vincent@nextcloud.com>2022-09-13 10:17:40 +0300
commit5d31490e198388d2e5b5c544c0f22aba302e8563 (patch)
tree5847549e834372e3dd801ca17e4ab584980a1f7d /js
parentefc1815a1a57114f15b591f53e3822cc38d8146c (diff)
Fix file list selectors
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'js')
-rw-r--r--js/files.js4
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);