Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #142 from nextcloud/fix-selectors
Browse files Browse the repository at this point in the history
Fix file list selectors
  • Loading branch information
PVince81 authored Sep 13, 2022
2 parents efc1815 + 5d31490 commit 663eb5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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);

0 comments on commit 663eb5f

Please sign in to comment.