diff --git a/source/building-your-own-javascript-components/index.html.md.erb b/source/building-your-own-javascript-components/index.html.md.erb index aa177f1..4c33de1 100644 --- a/source/building-your-own-javascript-components/index.html.md.erb +++ b/source/building-your-own-javascript-components/index.html.md.erb @@ -112,7 +112,7 @@ class LinkEnhancement extends Component { // This will make sure that the component can only be initialised // on HTMLAnchorElement - static rootElementType = HTMLAnchorElement + static elementType = HTMLAnchorElement constructor($root) { super($root);