We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6029559 commit a7ba081Copy full SHA for a7ba081
src/shortcut_dialog.ts
@@ -151,7 +151,7 @@ export class ShortcutDialog {
151
152
private keysToHTML(keys: string[]) {
153
const separator = navigator.platform.startsWith('Mac') ? '' : ' + ';
154
- if (!keys || !keys.length) return [];
+ if (!keys || !keys.length) return '';
155
return [
156
`<span class="shortcut-combo">`,
157
...keys.map((key, index) => {
0 commit comments