clean unnecessary changes

This commit is contained in:
daria 2024-12-04 12:39:05 +02:00
parent 9b253eb98a
commit 610414dc18
2 changed files with 1 additions and 1 deletions

View File

@ -2514,6 +2514,7 @@ define([
else if (e.which === 13) {
if ($container.find('.cp-icons-element-selected').length === 1) {
$container.find('.cp-icons-element-selected').click();
return;
}
}
});

View File

@ -1063,7 +1063,6 @@ define([
$elements.index($selection.last()[0]);
var length = $elements.length;
if (length === 0) { return; }
// List mode
if (getViewMode() === "list") {
if (e.which === 40) { click($elements.get(Math.min(lastIndex+1, length -1))); }