mirror of https://github.com/xwiki-labs/cryptpad
Merge branch 'staging' of github.com:cryptpad/cryptpad into staging
This commit is contained in:
commit
3825b07339
|
@ -4357,7 +4357,10 @@ define([
|
||||||
if (collapsable) {
|
if (collapsable) {
|
||||||
$collapse = $expandIcon.clone().attr('tabindex', 0);
|
$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) {
|
if (e.type === 'keypress' && e.which !== 13) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue