|
|
|
@@ -12,7 +12,7 @@ export const createAnchorLinks = ({ |
|
|
|
|
|
|
|
titles.map((title, index) => { |
|
|
|
const li = createElement('li', [], null, ul); |
|
|
|
const a = createElement('a', ['variant-subtle-primary-hover'], title, li); |
|
|
|
const a = createElement('a', [], title, li); |
|
|
|
a.href = '#titleInText' + index; |
|
|
|
a.dataset.index = index.toString(); |
|
|
|
}); |
|
|
|
|