Modern Front-End Development for Rails: B7 page 45 thingToHideTarget typo

This property returns a boolean; true if there is a thingToHideTarget, false otherwise. You’d typically use this to avoid the exception raised by thingToHideTarget

elementToHideTarget instead of thingToHideTarget

Yep, thanks!