mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
clean unnecessary changes
This commit is contained in:
parent
9b253eb98a
commit
610414dc18
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -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))); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user