Skip to content

Commit

Permalink
revert onClose change
Browse files Browse the repository at this point in the history
  • Loading branch information
SivanA-Kaltura committed Dec 4, 2023
1 parent 0d9e8c0 commit 431b648
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/call-to-action-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class CallToActionManager {
description={description}
buttons={buttons}
onClick={(link: string) => this.onCallToActionButtonClick(link)}
onClose={this.onOverlayCloseClick}
onClose={() => this.onOverlayCloseClick()}
descriptionLines={descriptionLines}
/>
)
Expand All @@ -78,8 +78,6 @@ class CallToActionManager {
}

private onOverlayCloseClick() {
// debugger;

this.removeOverlay();
if (this.playOnClose) {
this.player.play();
Expand Down

0 comments on commit 431b648

Please sign in to comment.