mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2025-09-23 04:11:06 +00:00
fix #54: root all image urls
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
fetchData().then(({content}) => {
|
||||
const links = [...document.getElementsByClassName("internal-link")]
|
||||
links.forEach(li => {
|
||||
console.log(li.dataset.src.replace(baseUrl, ""))
|
||||
console.log(content[li.dataset.src.replace(baseUrl, "")])
|
||||
console.log(content)
|
||||
const linkDest = content[li.dataset.src.replace(baseUrl, "")]
|
||||
// const linkDest = content[li.dataset.src]
|
||||
if (linkDest) {
|
||||
|
Reference in New Issue
Block a user