diff --git a/src/call-to-action.tsx b/src/call-to-action.tsx index ad61889..37c99d0 100644 --- a/src/call-to-action.tsx +++ b/src/call-to-action.tsx @@ -76,7 +76,10 @@ class CallToAction extends BasePlugin { // @ts-ignore const currentTime = this.player.currentTime; - this.hideActiveMessage(); + if (this.activeMessage) { + this.callToActionManager.removeMessage(); + this.activeMessageEndTime = -1; + } for (const message of this.messages) { if (message.timing.redisplayMessage || !message.wasDismissed) {