Skip to content

Commit

Permalink
Fix invalid link fragment by adding id to header
Browse files Browse the repository at this point in the history
The header contains a dash '-' that causes the automatically generated fragment to don't match the link to the header:
	generated fragment link: '#the-module-pattern---iifes'
	correct link: '#the-module-pattern-iifes'
By using the correct link as an id in the header both links will match
  • Loading branch information
dot-sky committed Jul 1, 2024
1 parent f03f104 commit 369d4e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function createPlayer (name, level) {
}
```

### The module pattern - IIFEs
### The module pattern - IIFEs {#the-module-pattern-iifes}

<div class="lesson-note lesson-note--warning" markdown="1" >

Expand Down

0 comments on commit 369d4e1

Please sign in to comment.