@anywhichway/autohelm
Advanced tools
Comparing version 0.0.21 to 0.0.22
16
index.js
@@ -66,5 +66,5 @@ const toTOC = (dom,headings,toc,previousLevel,previousHeading) => { | ||
toc.style.display = "none"; | ||
open.innerHTML = "+"; | ||
open.innerHTML = "▼"; | ||
open.style.display = "inline"; | ||
close.innerHTML = "-"; | ||
close.innerHTML = "▲"; | ||
close.style.display = "none"; | ||
@@ -74,10 +74,10 @@ tocEl.appendChild(open) | ||
open.addEventListener("click",() => { | ||
toc.display = "block"; | ||
open.display = "none"; | ||
close.display = "inline"; | ||
toc.style.display = "block"; | ||
open.style.display = "none"; | ||
close.style.display = "inline"; | ||
}) | ||
close.addEventListener("click",() => { | ||
toc.display = "none"; | ||
open.display = "inline"; | ||
close.display = "none"; | ||
toc.style.display = "none"; | ||
open.style.display = "inline"; | ||
close.style.display = "none"; | ||
}) | ||
@@ -84,0 +84,0 @@ } |
{ | ||
"name": "@anywhichway/autohelm", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "A library to support standardized table of contents and footnote navigation in HTML files", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9927