mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
fix typo when observing config
This commit is contained in:
parent
069869f881
commit
491676e6de
@ -83,13 +83,13 @@ module.exports = {
|
||||
atom.menu.add([menuItem]);
|
||||
}
|
||||
|
||||
this.subscriptions.add(atom.config.observe('find-and-replace.showInMenuBar'), (value) => {
|
||||
this.subscriptions.add(atom.config.observe('find-and-replace.showInMenuBar', (value) => {
|
||||
if (value) {
|
||||
atom.menu.add([menuItem]);
|
||||
} else {
|
||||
atom.menu.remove([menuItem]);
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
this.subscriptions.add(atom.commands.add('.find-and-replace, .project-find', 'window:focus-next-pane', () => atom.views.getView(atom.workspace).focus())
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user