mirror of
https://github.com/9001/copyparty.git
synced 2026-03-21 23:53:00 +10:00
fix hotkey headers (thx @satgo1546)
This commit is contained in:
@@ -6049,7 +6049,7 @@ function hkhelp() {
|
||||
html.push('<table>');
|
||||
for (var a = 0; a < c.length; a++)
|
||||
try {
|
||||
if (c[a].length != 2)
|
||||
if (!Array.isArray(c[a]))
|
||||
html.push('<tr><th colspan="2">' + esc(c[a]) + '</th></tr>');
|
||||
else {
|
||||
var t1 = c[a][0].replace('⇧', '<b>⇧</b>');
|
||||
|
||||
@@ -26,7 +26,7 @@ Ls.chi = {
|
||||
|
||||
"hks": [
|
||||
[
|
||||
"杂项 ", // trailing space to ensure string is not treated as an array of 2 chars
|
||||
"杂项",
|
||||
["ESC", "关闭各种窗口"],
|
||||
|
||||
"文件管理器",
|
||||
@@ -47,7 +47,7 @@ Ls.chi = {
|
||||
["⇧ ↑/↓", "选择上一个/下一个文件"],
|
||||
["ctrl-A", "选择所有文件 / 文件夹"]
|
||||
], [
|
||||
"导航 ", // trailing space
|
||||
"导航",
|
||||
["B", "切换面包屑导航 / 导航窗格"],
|
||||
["I/K", "上一个/下一个文件夹"],
|
||||
["M", "父文件夹(或折叠当前文件夹)"],
|
||||
|
||||
Reference in New Issue
Block a user