Refactoring Tabs doesn't add them to the DOM
Closed this issue · 2 comments
jf647 commented
In the refactoring of the tabs in Chapter 9, page 252, the function passed to tabs.forEach doesn't actually add the tabs to the DOM.
After defining the on click handler, I had to add this to return the site to it's prior state:
$("main .tabs").append($aElement);
semmypurewal commented
Ah, yes. This definitely looks like an error. I will update it as official errata soon, and report back here once I do!
Thanks for the heads up!
semmypurewal commented
Thanks again for the feedback. This has been fixed and noted here:
http://learningwebappdev.com/errata/chapter9/2014/07/26/chapter-9-missing-append-statement.html