diff --git a/docs/guides/components.md b/docs/guides/components.md index c63124785..2105a55f0 100644 --- a/docs/guides/components.md +++ b/docs/guides/components.md @@ -219,7 +219,7 @@ myComponent.on(otherComponent, 'eventName', myFunc); otherComponent.trigger('eventName'); // logs 'myFunc called' twice -myComponent.off(ootherComponent.el(), 'eventName', myFunc); +myComponent.off(otherComponent.el(), 'eventName', myFunc); myComponent.off(otherComponent, 'eventName', myFunc); otherComponent.trigger('eventName'); // does nothing