Skip to content

Commit

Permalink
Merge pull request #30 from heyitsbryanm/patch-1
Browse files Browse the repository at this point in the history
Corrects typo
  • Loading branch information
gajus committed Jul 20, 2019
2 parents e6a0365 + 0af9c99 commit 7d31e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -55,7 +55,7 @@ contents.eventEmitter().on('change', function () {
// added new content after generating the table of contents.
const newHeading = document.createElement('h2');

hewHeading.innerHTML = 'Dynamically generated title';
newHeading.innerHTML = 'Dynamically generated title';

document.body.appendChild(newHeading);

Expand Down Expand Up @@ -92,7 +92,7 @@ The code for all of the examples is in the [examples](./examples/) folder.
| [Smooth scrolling](#smooth-scrolling) | - |||
| Forward and back button support || - ||
| [Events](#events) || - | - |
| [Efficient `scroll` event](#window-resize-and-scroll-event-handling) ||| - |
| [Efficient `scroll` event](#window-resize-and-scroll-event-handling) ||| heading- |
| [Reflect `window` resize](#window-resize-and-scroll-event-handling) || - ||
| [Extract table of contents as an array](#table-of-contents-array) || - | - |
| Overwrite markup and navigation || - | - |
Expand Down

0 comments on commit 7d31e22

Please sign in to comment.