mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-06 01:50:26 +00:00
Hypha shortcuts
[1-9]: First 9 links in the hypha contents
This commit is contained in:
parent
3a2678df4d
commit
0e3222c552
@ -130,5 +130,10 @@
|
||||
for (let i = 1; i <= headerLinks.length && i < 10; i++) {
|
||||
bindElement(`g ${i}`, headerLinks[i-1], `Header link #${i}`);
|
||||
}
|
||||
|
||||
let hyphaLinks = $$('article .wikilink');
|
||||
for (let i = 1; i <= hyphaLinks.length && i < 10; i++) {
|
||||
bindElement(i.toString(), hyphaLinks[i-1], `Hypha link #${i}`);
|
||||
}
|
||||
});
|
||||
})();
|
Loading…
Reference in New Issue
Block a user