mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-01-21 20:52:11 +01:00
tslint
This commit is contained in:
parent
d9bdb4571d
commit
8395159007
@ -61,7 +61,7 @@ export default class Window {
|
||||
}
|
||||
|
||||
isMenubar() {
|
||||
return this.browser !== null;
|
||||
return this.menubar !== null;
|
||||
}
|
||||
|
||||
close() {
|
||||
|
@ -39,7 +39,7 @@ function setupKeybinds(keybinds: {[key: string]: string}, host: string) {
|
||||
});
|
||||
} else {
|
||||
const func = ShortcutActions[action];
|
||||
if (func === undefined) {
|
||||
if (!func) {
|
||||
log.error('Unknown shortcut action:', action);
|
||||
continue;
|
||||
}
|
||||
@ -66,4 +66,4 @@ Ipc.on('mstdn:change-account', (account: Account) => {
|
||||
return;
|
||||
}
|
||||
setupKeybinds(config.keymaps, account.host);
|
||||
})
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user