Skip to content

Commit

Permalink
Update conditional function call to handle undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Sep 3, 2021
1 parent 1133437 commit db15082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/common/utils/Drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class Drawer {

this.appElement.classList.remove('drawerOpen');

this.$backdrop.remove?.();
this.$backdrop?.remove?.();
}

/**
Expand Down

0 comments on commit db15082

Please sign in to comment.