Merge branch 'staging' of github.com:cryptpad/cryptpad into staging

This commit is contained in:
David Benque 2023-12-14 10:53:13 +00:00
commit 3825b07339
1 changed files with 4 additions and 1 deletions

View File

@ -4357,7 +4357,10 @@ define([
if (collapsable) {
$collapse = $expandIcon.clone().attr('tabindex', 0);
}
var $elementRow = $('<span>', {'class': 'cp-app-drive-element-row', 'tabindex': 0}).append($collapse).append($icon).append($name).on('click keypress', function (e) {
var $elementRow = $('<span>', {
'class': 'cp-app-drive-element-row cp-app-drive-element-folder',
'tabindex': 0
}).append($collapse).append($icon).append($name).on('click keypress', function (e) {
if (e.type === 'keypress' && e.which !== 13) {
return;
}