diff --git a/packages/oui-slideshow/src/slideshow.controller.js b/packages/oui-slideshow/src/slideshow.controller.js index d0214f6d..3b67c32e 100644 --- a/packages/oui-slideshow/src/slideshow.controller.js +++ b/packages/oui-slideshow/src/slideshow.controller.js @@ -67,9 +67,7 @@ export default class { } closeOnBoarding () { - if (this.onDismiss) { - this.onDismiss(event); - } + this.onDismiss(); this.$document.off("keydown", evt => this._triggerKeyHandler(evt)); this.$scope.$broadcast("oui:modalOnBoarding:afterClose", this.id);