mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
Fix recipe link targeting
This commit is contained in:
parent
e09ab518fd
commit
b6160d4b5d
2 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ body {
|
|||
/* padding:0 0.3em; */
|
||||
/* border:1px solid currentColor; */
|
||||
text-decoration:underline;
|
||||
text-decoration-style: dotted;
|
||||
}
|
||||
|
||||
img.publisher {
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ function highlightStep(e) {
|
|||
// el.classList.toggle("complete", )
|
||||
// }
|
||||
if (e.target.classList.contains("noun")) return;
|
||||
if (e.target.tagName == "A") return;
|
||||
e.target.closest("li").classList.toggle("complete")
|
||||
|
||||
}
|
||||
|
|
@ -190,6 +191,7 @@ function render() {
|
|||
console.error("Data", e, {e, body: window.params.body});
|
||||
return;
|
||||
}
|
||||
document.head.appendChild(el("base", {target: "_blank"}));
|
||||
|
||||
delete document.documentElement.style.display;
|
||||
document.body.childNodes.forEach((c) => document.body.removeChild(c))
|
||||
|
|
|
|||
Loading…
Reference in a new issue