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

pull/1/head
yflory 8 years ago
commit 1547063b7f

@ -403,7 +403,7 @@ define([
if (length === 0) { return; } if (length === 0) { return; }
// List mode // List mode
if (getViewMode() === "list") { if (getViewMode() === "list") {
if (e.which === 40) { click($elements.get(Math.min(lastIndex+1, length))); } if (e.which === 40) { click($elements.get(Math.min(lastIndex+1, length -1))); }
if (e.which === 38) { click($elements.get(Math.max(lastIndex-1, 0))); } if (e.which === 38) { click($elements.get(Math.max(lastIndex-1, 0))); }
return; return;
} }

Loading…
Cancel
Save