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