Skip to content

Commit

Permalink
Fix issue with this binding
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Oct 29, 2024
1 parent e108b54 commit 9334f28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GrampsJs.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ export class GrampsJs extends LitElement {
window.addEventListener('db:changed', () => this._loadDbInfo(false))
this.addEventListener('drawer:toggle', this._toggleDrawer)
window.addEventListener('keydown', event => this._handleKey(event))
document.addEventListener('visibilitychange', this._handleVisibilityChange)
document.addEventListener('visibilitychange', () =>
this._handleVisibilityChange()
)
window.addEventListener('online', () => this._handleOnline())
window.addEventListener('token:refresh', () => this._handleRefresh())

Expand Down

0 comments on commit 9334f28

Please sign in to comment.