mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
simplification of sync event API
This commit is contained in:
@@ -13,9 +13,9 @@ export default class SidePaneContainer extends FlexContainer {
|
||||
return super.isEnabled() && options.is(this.side + 'PaneVisible');
|
||||
}
|
||||
|
||||
eventReceived(name, data, sync = false) {
|
||||
eventReceived(name, data) {
|
||||
if (options.is(this.side + 'PaneVisible')) {
|
||||
super.eventReceived(name, data, sync);
|
||||
super.eventReceived(name, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user