mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
client: Fix shortcuts section crashing when no translations
This commit is contained in:
parent
28b8e59b4d
commit
73cd54e75c
@ -80,8 +80,7 @@ export default class KeyboardShortcutsOptions extends OptionsWidget {
|
|||||||
.attr("style","background-color: var(--accented-background-color); font-weight: bold;")
|
.attr("style","background-color: var(--accented-background-color); font-weight: bold;")
|
||||||
.text(action.separator)
|
.text(action.separator)
|
||||||
)
|
)
|
||||||
}
|
} else if (action.defaultShortcuts) {
|
||||||
else {
|
|
||||||
$tr.append($("<td>").text(action.actionName))
|
$tr.append($("<td>").text(action.actionName))
|
||||||
.append($("<td>").append(
|
.append($("<td>").append(
|
||||||
$(`<input type="text" class="form-control">`)
|
$(`<input type="text" class="form-control">`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user