From 580bbb82704be07273ad2db8beaa2bada7ed4df6 Mon Sep 17 00:00:00 2001 From: L'huillier Thomas Date: Thu, 7 Mar 2019 17:59:04 +0100 Subject: [PATCH] Fix section link selector (nextbigsoundinc#70) --- src/assets/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/app.js b/src/assets/js/app.js index f0a5112..88466b3 100644 --- a/src/assets/js/app.js +++ b/src/assets/js/app.js @@ -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;