diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 13:37:41 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 13:44:00 -0300 |
commit | 24086e482e67cd4ad9011776a225e8e784f26b74 (patch) | |
tree | ba12fb058313ac1d4abccb4495aad26bab1ce784 /src/content | |
parent | 3b7adf38e6916f3be923d0ef86b60b5494f83f6b (diff) |
content: generateFlashIndexPage: work "jump" links off of sides
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateFlashIndexPage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateFlashIndexPage.js b/src/content/dependencies/generateFlashIndexPage.js index 57072a1f..36bfabae 100644 --- a/src/content/dependencies/generateFlashIndexPage.js +++ b/src/content/dependencies/generateFlashIndexPage.js @@ -20,7 +20,7 @@ export default { const jumpActs = flashActs - .filter(act => act.jump); + .filter(act => act.side.acts.indexOf(act) === 0); return {flashActs, jumpActs}; }, @@ -31,7 +31,7 @@ export default { jumpLinkColorStyles: query.jumpActs - .map(act => relation('generateColorStyleAttribute', act.jumpColor)), + .map(act => relation('generateColorStyleAttribute', act.side.color)), actColorStyles: query.flashActs @@ -63,7 +63,7 @@ export default { jumpLinkLabels: query.jumpActs - .map(act => act.jump), + .map(act => act.side.name), actAnchors: query.flashActs |