Skip to content

Commit

Permalink
Fix section link selector (nextbigsoundinc#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhuillier committed Mar 7, 2019
1 parent 09cef52 commit 580bbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
return librarySlug + '-' + id;
});

$library.find('a[href^="#"]').attr('href', function(index, href) {
$library.find('.i-section__link').attr('href', function(index, href) {
if (href.startsWith('#category-')) {
// Preserve hash
return href;
Expand Down

0 comments on commit 580bbb8

Please sign in to comment.