Skip to content

Commit

Permalink
Fix typo in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored and Alice Boxhall committed Jan 7, 2019
1 parent 286bc8a commit 92e940b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion link-fixup.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// handle section-foo.html links from the old old multipage version,
// and broken foo.html from the new version
if ((!fragid) || !(fragid in fragment_links)) {
if (!fragid || !(fragid in fragmentLinks)) {
var m = window.location.pathname.match(/\/(?:section-)?([\w\-]+)\.html/);
if (m) {
fragid = m[1];
Expand Down

0 comments on commit 92e940b

Please sign in to comment.